Escape special names with backticks in test data
#KT-51248
This commit is contained in:
committed by
Space
parent
4de9de5fc5
commit
918a91dbdf
+8
-8
@@ -3,21 +3,21 @@ package test
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ bytes: kotlin.ByteArray, /*1*/ shorts: kotlin.ShortArray, /*2*/ ints: kotlin.IntArray, /*3*/ longs: kotlin.LongArray, /*4*/ chars: kotlin.CharArray, /*5*/ floats: kotlin.FloatArray, /*6*/ doubles: kotlin.DoubleArray, /*7*/ booleans: kotlin.BooleanArray)
|
||||
public final val booleans: kotlin.BooleanArray
|
||||
public final fun <get-booleans>(): kotlin.BooleanArray
|
||||
public final fun `<get-booleans>`(): kotlin.BooleanArray
|
||||
public final val bytes: kotlin.ByteArray
|
||||
public final fun <get-bytes>(): kotlin.ByteArray
|
||||
public final fun `<get-bytes>`(): kotlin.ByteArray
|
||||
public final val chars: kotlin.CharArray
|
||||
public final fun <get-chars>(): kotlin.CharArray
|
||||
public final fun `<get-chars>`(): kotlin.CharArray
|
||||
public final val doubles: kotlin.DoubleArray
|
||||
public final fun <get-doubles>(): kotlin.DoubleArray
|
||||
public final fun `<get-doubles>`(): kotlin.DoubleArray
|
||||
public final val floats: kotlin.FloatArray
|
||||
public final fun <get-floats>(): kotlin.FloatArray
|
||||
public final fun `<get-floats>`(): kotlin.FloatArray
|
||||
public final val ints: kotlin.IntArray
|
||||
public final fun <get-ints>(): kotlin.IntArray
|
||||
public final fun `<get-ints>`(): kotlin.IntArray
|
||||
public final val longs: kotlin.LongArray
|
||||
public final fun <get-longs>(): kotlin.LongArray
|
||||
public final fun `<get-longs>`(): kotlin.LongArray
|
||||
public final val shorts: kotlin.ShortArray
|
||||
public final fun <get-shorts>(): kotlin.ShortArray
|
||||
public final fun `<get-shorts>`(): kotlin.ShortArray
|
||||
}
|
||||
|
||||
@test.Anno(booleans = {true, false}, bytes = {42.toByte(), -1.toByte()}, chars = {\u0061 ('a'), \u005A ('Z')}, doubles = {42.0.toDouble(), -3.14.toDouble()}, floats = {2.72.toFloat(), 0.0.toFloat()}, ints = {42, 239}, longs = {42.toLong(), 239.toLong()}, shorts = {-42.toShort(), 0.toShort()}) public final class Klass {
|
||||
|
||||
Reference in New Issue
Block a user