Escape special names with backticks in test data
#KT-51248
This commit is contained in:
committed by
Space
parent
4de9de5fc5
commit
918a91dbdf
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
@test.Anno public val x: kotlin.Int
|
||||
public fun <get-x>(): kotlin.Int
|
||||
public fun `<get-x>`(): kotlin.Int
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = ElementType.FIELD) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
public fun `<get-bar>`(): kotlin.Int
|
||||
@test.Anno(t = ElementType.METHOD) public fun foo(): kotlin.Unit
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
|
||||
public final val t: java.lang.annotation.ElementType
|
||||
public final fun <get-t>(): java.lang.annotation.ElementType
|
||||
public final fun `<get-t>`(): java.lang.annotation.ElementType
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = {ElementType.PACKAGE}) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
public fun `<get-bar>`(): kotlin.Int
|
||||
@test.Anno(t = {}) public fun baz(): kotlin.Unit
|
||||
@test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) public fun foo(): kotlin.Unit
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ vararg t: java.lang.annotation.ElementType /*kotlin.Array<out java.lang.annotation.ElementType>*/)
|
||||
public final val t: kotlin.Array<out java.lang.annotation.ElementType>
|
||||
public final fun <get-t>(): kotlin.Array<out java.lang.annotation.ElementType>
|
||||
public final fun `<get-t>`(): kotlin.Array<out java.lang.annotation.ElementType>
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public val property: kotlin.Int
|
||||
@test.Anno public fun <get-property>(): kotlin.Int
|
||||
@test.Anno public fun `<get-property>`(): kotlin.Int
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno public var property: kotlin.Int
|
||||
public fun <get-property>(): kotlin.Int
|
||||
public fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public fun `<get-property>`(): kotlin.Int
|
||||
public fun `<set-property>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
public var property: kotlin.Int
|
||||
public fun <get-property>(): kotlin.Int
|
||||
@test.Anno public fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
public fun `<get-property>`(): kotlin.Int
|
||||
@test.Anno public fun `<set-property>`(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
|
||||
Vendored
+2
-2
@@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = {"prosper"}) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
public fun `<get-bar>`(): kotlin.Int
|
||||
@test.Anno(t = {}) public fun baz(): kotlin.Unit
|
||||
@test.Anno(t = {"live", "long"}) public fun foo(): kotlin.Unit
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ vararg t: kotlin.String /*kotlin.Array<out kotlin.String>*/)
|
||||
public final val t: kotlin.Array<out kotlin.String>
|
||||
public final fun <get-t>(): kotlin.Array<out kotlin.String>
|
||||
public final fun `<get-t>`(): kotlin.Array<out kotlin.String>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user