Escape special names with backticks in test data
#KT-51248
This commit is contained in:
committed by
Space
parent
4de9de5fc5
commit
918a91dbdf
Vendored
+2
-2
@@ -10,7 +10,7 @@ public final class Class {
|
||||
public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
@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
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*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 class Constructor {
|
||||
|
||||
+1
-1
@@ -7,5 +7,5 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@test.Anno public final val x: kotlin.Int
|
||||
public final fun <get-x>(): kotlin.Int
|
||||
public final fun `<get-x>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+3
-3
@@ -3,13 +3,13 @@ package test
|
||||
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
|
||||
}
|
||||
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@field:test.Anno(t = ElementType.FIELD) public final var bar: kotlin.Int
|
||||
public final fun <get-bar>(): kotlin.Int
|
||||
public final fun <set-bar>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public final fun `<get-bar>`(): kotlin.Int
|
||||
public final fun `<set-bar>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
@test.Anno(t = ElementType.METHOD) public final fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,9 +3,9 @@ package test
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ value: kotlin.String = ..., /*1*/ x: kotlin.Int = ...)
|
||||
public final val value: kotlin.String = "0"
|
||||
public final fun <get-value>(): kotlin.String
|
||||
public final fun `<get-value>`(): kotlin.String
|
||||
public final val x: kotlin.Int = 0
|
||||
public final fun <get-x>(): kotlin.Int
|
||||
public final fun `<get-x>`(): kotlin.Int
|
||||
}
|
||||
|
||||
public final annotation class Bnno : kotlin.Annotation {
|
||||
@@ -23,9 +23,9 @@ public final enum class Eee : kotlin.Enum<test.Eee> {
|
||||
|
||||
/*primary*/ private constructor Eee()
|
||||
public final override /*1*/ /*fake_override*/ val name: kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun <get-name>(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun `<get-name>`(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int
|
||||
public final override /*1*/ /*fake_override*/ fun <get-ordinal>(): kotlin.Int
|
||||
public final override /*1*/ /*fake_override*/ fun `<get-ordinal>`(): kotlin.Int
|
||||
protected final override /*1*/ /*fake_override*/ fun clone(): kotlin.Any
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.Eee): kotlin.Int
|
||||
protected/*protected and package*/ final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -7,5 +7,5 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
public final val property: kotlin.Int
|
||||
@test.Anno public final fun <get-property>(): kotlin.Int
|
||||
@test.Anno public final fun `<get-property>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+4
-4
@@ -7,12 +7,12 @@ public final annotation class Ann : kotlin.Annotation {
|
||||
public sealed class Sealed {
|
||||
/*primary*/ @test.Ann protected constructor Sealed(/*0*/ @test.Ann z: test.Z)
|
||||
public final val z: test.Z
|
||||
public final fun <get-z>(): test.Z
|
||||
public final fun `<get-z>`(): test.Z
|
||||
|
||||
public final class Derived : test.Sealed {
|
||||
/*primary*/ @test.Ann public constructor Derived(/*0*/ z: test.Z)
|
||||
public final override /*1*/ /*fake_override*/ val z: test.Z
|
||||
public final override /*1*/ /*fake_override*/ fun <get-z>(): test.Z
|
||||
public final override /*1*/ /*fake_override*/ fun `<get-z>`(): test.Z
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ public final class Test {
|
||||
@test.Ann public constructor Test(/*0*/ z: test.Z, /*1*/ @test.Ann a: kotlin.Int)
|
||||
@test.Ann private constructor Test(/*0*/ z: test.Z, /*1*/ @test.Ann s: kotlin.String)
|
||||
public final val z: test.Z
|
||||
public final fun <get-z>(): test.Z
|
||||
public final fun `<get-z>`(): test.Z
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmInline /* annotation class not found */ public final value class Z {
|
||||
/*primary*/ public constructor Z(/*0*/ x: kotlin.Int)
|
||||
public final val x: kotlin.Int
|
||||
public final fun <get-x>(): kotlin.Int
|
||||
public final fun `<get-x>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+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
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ package test
|
||||
@kotlin.jvm.JvmInline public final value class Z {
|
||||
/*primary*/ internal constructor Z(/*0*/ kotlin.Int)
|
||||
public final val value: kotlin.Int
|
||||
public final fun <get-value>(): kotlin.Int
|
||||
public final fun `<get-value>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ package test
|
||||
@kotlin.jvm.JvmInline /* annotation class not found */ public final value class Z {
|
||||
/*primary*/ @kotlin.PublishedApi internal constructor Z(/*0*/ value: kotlin.Int)
|
||||
public final val value: kotlin.Int
|
||||
public final fun <get-value>(): kotlin.Int
|
||||
public final fun `<get-value>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+2
-2
@@ -7,6 +7,6 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
public final var property: kotlin.Int
|
||||
public final fun <get-property>(): kotlin.Int
|
||||
@test.Anno public final fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
public final fun `<get-property>`(): kotlin.Int
|
||||
@test.Anno public final fun `<set-property>`(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user