Escape special names with backticks in test data
#KT-51248
This commit is contained in:
committed by
Space
parent
4de9de5fc5
commit
918a91dbdf
+1
-1
@@ -7,7 +7,7 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@delegate:test.Anno public final val property: kotlin.String
|
||||
public final fun <get-property>(): kotlin.String
|
||||
public final fun `<get-property>`(): kotlin.String
|
||||
}
|
||||
|
||||
public final class CustomDelegate {
|
||||
|
||||
+2
-2
@@ -7,6 +7,6 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@field:test.Anno public final var property: kotlin.Int
|
||||
public final fun <get-property>(): kotlin.Int
|
||||
public final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public final fun `<get-property>`(): kotlin.Int
|
||||
public final fun `<set-property>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
Vendored
+8
-8
@@ -3,23 +3,23 @@ package test
|
||||
public final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ value: kotlin.String)
|
||||
public final val value: kotlin.String
|
||||
public final fun <get-value>(): kotlin.String
|
||||
public final fun `<get-value>`(): kotlin.String
|
||||
}
|
||||
|
||||
public final annotation class B : kotlin.Annotation {
|
||||
/*primary*/ public constructor B(/*0*/ value: kotlin.Array<kotlin.String>)
|
||||
public final val value: kotlin.Array<kotlin.String>
|
||||
public final fun <get-value>(): kotlin.Array<kotlin.String>
|
||||
public final fun `<get-value>`(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
public interface I {
|
||||
public abstract var getterAndSetter: kotlin.Int
|
||||
@test.A(value = "getter") public abstract fun <get-getterAndSetter>(): kotlin.Int
|
||||
@test.B(value = {"setter"}) public abstract fun <set-getterAndSetter>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
@test.A(value = "getter") public abstract fun `<get-getterAndSetter>`(): kotlin.Int
|
||||
@test.B(value = {"setter"}) public abstract fun `<set-getterAndSetter>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
@test.A(value = "property") public abstract var propertyAndGetter: kotlin.Int
|
||||
@test.B(value = {"getter"}) public abstract fun <get-propertyAndGetter>(): kotlin.Int
|
||||
public abstract fun <set-propertyAndGetter>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
@test.B(value = {"getter"}) public abstract fun `<get-propertyAndGetter>`(): kotlin.Int
|
||||
public abstract fun `<set-propertyAndGetter>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
@test.A(value = "property") public abstract var propertyAndSetter: kotlin.Int
|
||||
public abstract fun <get-propertyAndSetter>(): kotlin.Int
|
||||
@test.B(value = {"setter"}) public abstract fun <set-propertyAndSetter>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public abstract fun `<get-propertyAndSetter>`(): kotlin.Int
|
||||
@test.B(value = {"setter"}) public abstract fun `<set-propertyAndSetter>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
+3
-3
@@ -3,10 +3,10 @@ package test
|
||||
public final class A {
|
||||
/*primary*/ public constructor A()
|
||||
public final val @receiver:test.Ann kotlin.String.myLength2: kotlin.Int
|
||||
public final fun @receiver:test.Ann kotlin.String.<get-myLength2>(): kotlin.Int
|
||||
public final fun @receiver:test.Ann kotlin.String.`<get-myLength2>`(): kotlin.Int
|
||||
public final var @receiver:test.Ann kotlin.String.myLength3: kotlin.Int
|
||||
public final fun @receiver:test.Ann kotlin.String.<get-myLength3>(): kotlin.Int
|
||||
public final fun @receiver:test.Ann kotlin.String.<set-myLength3>(/*0*/ v: kotlin.Int): kotlin.Unit
|
||||
public final fun @receiver:test.Ann kotlin.String.`<get-myLength3>`(): kotlin.Int
|
||||
public final fun @receiver:test.Ann kotlin.String.`<set-myLength3>`(/*0*/ v: kotlin.Int): kotlin.Unit
|
||||
public final fun @receiver:test.Ann kotlin.String.myLength(/*0*/ @test.Ann q: kotlin.String): kotlin.Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user