Escape special names with backticks in test data
#KT-51248
This commit is contained in:
committed by
Space
parent
4de9de5fc5
commit
918a91dbdf
+2
-2
@@ -5,12 +5,12 @@ package test
|
||||
@java.lang.annotation.Repeatable(value = test.Anno.Container::class) @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS}) public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ code: kotlin.Int)
|
||||
public final val code: kotlin.Int
|
||||
public final fun <get-code>(): kotlin.Int
|
||||
public final fun `<get-code>`(): kotlin.Int
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS}) public final annotation class Container : kotlin.Annotation {
|
||||
/*primary*/ public constructor Container(/*0*/ value: kotlin.Array<test.Anno>)
|
||||
public final val value: kotlin.Array<test.Anno>
|
||||
public final fun <get-value>(): kotlin.Array<test.Anno>
|
||||
public final fun `<get-value>`(): kotlin.Array<test.Anno>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ package test
|
||||
@kotlin.annotation.Repeatable @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS}) public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ code: kotlin.Int)
|
||||
public final val code: kotlin.Int
|
||||
public final fun <get-code>(): kotlin.Int
|
||||
public final fun `<get-code>`(): kotlin.Int
|
||||
}
|
||||
|
||||
@test.Anno(code = 1) @test.Anno(code = 2) public final class Z {
|
||||
|
||||
Reference in New Issue
Block a user