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,5 +1,5 @@
|
||||
package test
|
||||
|
||||
internal val x: kotlin.Int
|
||||
internal fun <get-x>(): kotlin.Int
|
||||
internal fun `<get-x>`(): kotlin.Int
|
||||
internal fun f(): kotlin.Int
|
||||
|
||||
+4
-4
@@ -3,11 +3,11 @@ package test
|
||||
public final class PrivateClassMembers {
|
||||
/*primary*/ public constructor PrivateClassMembers()
|
||||
internal final val internal: kotlin.Int
|
||||
internal final fun <get-internal>(): kotlin.Int
|
||||
internal final fun `<get-internal>`(): kotlin.Int
|
||||
private final var r: kotlin.Int
|
||||
private final fun <get-r>(): kotlin.Int
|
||||
private final fun <set-r>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
private final fun `<get-r>`(): kotlin.Int
|
||||
private final fun `<set-r>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
private final val v: kotlin.Int
|
||||
private final fun <get-v>(): kotlin.Int
|
||||
private final fun `<get-v>`(): kotlin.Int
|
||||
private final fun f(): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -3,14 +3,14 @@ package test
|
||||
public final class A</*0*/ in I> {
|
||||
/*primary*/ public constructor A</*0*/ in I>()
|
||||
private/*private to this*/ final var bar: I
|
||||
private/*private to this*/ final fun <get-bar>(): I
|
||||
private/*private to this*/ final fun <set-bar>(/*0*/ <set-?>: I): kotlin.Unit
|
||||
private/*private to this*/ final fun `<get-bar>`(): I
|
||||
private/*private to this*/ final fun `<set-bar>`(/*0*/ `<set-?>`: I): kotlin.Unit
|
||||
private/*private to this*/ final val foo: I
|
||||
private/*private to this*/ final fun <get-foo>(): I
|
||||
private/*private to this*/ final fun `<get-foo>`(): I
|
||||
private/*private to this*/ final val val_with_accessors: I
|
||||
private/*private to this*/ final fun <get-val_with_accessors>(): I
|
||||
private/*private to this*/ final fun `<get-val_with_accessors>`(): I
|
||||
private/*private to this*/ final var var_with_accessors: I
|
||||
private/*private to this*/ final fun <get-var_with_accessors>(): I
|
||||
private/*private to this*/ final fun <set-var_with_accessors>(/*0*/ value: I): kotlin.Unit
|
||||
private/*private to this*/ final fun `<get-var_with_accessors>`(): I
|
||||
private/*private to this*/ final fun `<set-var_with_accessors>`(/*0*/ value: I): kotlin.Unit
|
||||
private/*private to this*/ final fun bas(): I
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
private val topLevelVal: kotlin.Int
|
||||
private fun <get-topLevelVal>(): kotlin.Int
|
||||
private fun `<get-topLevelVal>`(): kotlin.Int
|
||||
|
||||
+6
-6
@@ -3,19 +3,19 @@ package test
|
||||
public open class Base {
|
||||
/*primary*/ public constructor Base()
|
||||
internal open val int: kotlin.Int
|
||||
internal open fun <get-int>(): kotlin.Int
|
||||
internal open fun `<get-int>`(): kotlin.Int
|
||||
protected open val prot: kotlin.Int
|
||||
protected open fun <get-prot>(): kotlin.Int
|
||||
protected open fun `<get-prot>`(): kotlin.Int
|
||||
public open val pub: kotlin.Int
|
||||
public open fun <get-pub>(): kotlin.Int
|
||||
public open fun `<get-pub>`(): kotlin.Int
|
||||
}
|
||||
|
||||
public final class Child : test.Base {
|
||||
/*primary*/ public constructor Child(/*0*/ prot: kotlin.Int, /*1*/ int: kotlin.Int, /*2*/ pub: kotlin.Int)
|
||||
internal open override /*1*/ val int: kotlin.Int
|
||||
internal open override /*1*/ fun <get-int>(): kotlin.Int
|
||||
internal open override /*1*/ fun `<get-int>`(): kotlin.Int
|
||||
protected open override /*1*/ val prot: kotlin.Int
|
||||
protected open override /*1*/ fun <get-prot>(): kotlin.Int
|
||||
protected open override /*1*/ fun `<get-prot>`(): kotlin.Int
|
||||
public open override /*1*/ val pub: kotlin.Int
|
||||
public open override /*1*/ fun <get-pub>(): kotlin.Int
|
||||
public open override /*1*/ fun `<get-pub>`(): kotlin.Int
|
||||
}
|
||||
|
||||
Vendored
+6
-6
@@ -3,19 +3,19 @@ package test
|
||||
public open class Base {
|
||||
/*primary*/ public constructor Base()
|
||||
internal open val int: kotlin.Int
|
||||
internal open fun <get-int>(): kotlin.Int
|
||||
internal open fun `<get-int>`(): kotlin.Int
|
||||
protected open val prot: kotlin.Int
|
||||
protected open fun <get-prot>(): kotlin.Int
|
||||
protected open fun `<get-prot>`(): kotlin.Int
|
||||
public open val pub: kotlin.Int
|
||||
public open fun <get-pub>(): kotlin.Int
|
||||
public open fun `<get-pub>`(): kotlin.Int
|
||||
}
|
||||
|
||||
public final class Child : test.Base {
|
||||
/*primary*/ public constructor Child(/*0*/ prot: kotlin.Int, /*1*/ int: kotlin.Int, /*2*/ pub: kotlin.Int)
|
||||
public open override /*1*/ val int: kotlin.Int
|
||||
public open override /*1*/ fun <get-int>(): kotlin.Int
|
||||
public open override /*1*/ fun `<get-int>`(): kotlin.Int
|
||||
public open override /*1*/ val prot: kotlin.Int
|
||||
public open override /*1*/ fun <get-prot>(): kotlin.Int
|
||||
public open override /*1*/ fun `<get-prot>`(): kotlin.Int
|
||||
public open override /*1*/ val pub: kotlin.Int
|
||||
public open override /*1*/ fun <get-pub>(): kotlin.Int
|
||||
public open override /*1*/ fun `<get-pub>`(): kotlin.Int
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
internal var topLevelVar: kotlin.Int
|
||||
internal fun <get-topLevelVar>(): kotlin.Int
|
||||
private fun <set-topLevelVar>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
internal fun `<get-topLevelVar>`(): kotlin.Int
|
||||
private fun `<set-topLevelVar>`(/*0*/ `<set-?>`: kotlin.Int): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user