[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
Vendored
+14
@@ -5,18 +5,22 @@ open annotation class A1 : Annotation {
|
||||
// CHECK:
|
||||
// Mangled name: A1{}xs
|
||||
// Public signature: /A1.xs|1063330853857063704[0]
|
||||
// Public signature debug description: {}xs
|
||||
val xs: IntArray
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A1#<get-xs>(){}kotlin.IntArray
|
||||
// Public signature: /A1.xs.<get-xs>|5887559004820637749[0]
|
||||
// Public signature debug description: <get-xs>(){}kotlin.IntArray
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A1#<get-xs>(){}
|
||||
// Public signature: /A1.xs.<get-xs>|-6958094100501701183[0]
|
||||
// Public signature debug description: <get-xs>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A1#<init>(kotlin.IntArray...){}
|
||||
// Public signature: /A1.<init>|3304157197881351514[0]
|
||||
// Public signature debug description: <init>(kotlin.IntArray...){}
|
||||
constructor(vararg xs: Int) /* primary */
|
||||
|
||||
}
|
||||
@@ -28,18 +32,22 @@ open annotation class A2 : Annotation {
|
||||
// CHECK:
|
||||
// Mangled name: A2{}xs
|
||||
// Public signature: /A2.xs|1063330853857063704[0]
|
||||
// Public signature debug description: {}xs
|
||||
val xs: Array<out String>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A2#<get-xs>(){}kotlin.Array<out|kotlin.String>
|
||||
// Public signature: /A2.xs.<get-xs>|9188548163055185324[0]
|
||||
// Public signature debug description: <get-xs>(){}kotlin.Array<out|kotlin.String>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A2#<get-xs>(){}
|
||||
// Public signature: /A2.xs.<get-xs>|-6958094100501701183[0]
|
||||
// Public signature debug description: <get-xs>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A2#<init>(kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /A2.<init>|-6780234697714860085[0]
|
||||
// Public signature debug description: <init>(kotlin.Array<out|kotlin.String>...){}
|
||||
constructor(vararg xs: String) /* primary */
|
||||
|
||||
}
|
||||
@@ -51,18 +59,22 @@ open annotation class AA : Annotation {
|
||||
// CHECK:
|
||||
// Mangled name: AA{}xs
|
||||
// Public signature: /AA.xs|1063330853857063704[0]
|
||||
// Public signature debug description: {}xs
|
||||
val xs: Array<out A1>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: AA#<get-xs>(){}kotlin.Array<out|A1>
|
||||
// Public signature: /AA.xs.<get-xs>|-3667422235339963828[0]
|
||||
// Public signature debug description: <get-xs>(){}kotlin.Array<out|A1>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: AA#<get-xs>(){}
|
||||
// Public signature: /AA.xs.<get-xs>|-6958094100501701183[0]
|
||||
// Public signature debug description: <get-xs>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: AA#<init>(kotlin.Array<out|A1>...){}
|
||||
// Public signature: /AA.<init>|-3149474316715311617[0]
|
||||
// Public signature debug description: <init>(kotlin.Array<out|A1>...){}
|
||||
constructor(vararg xs: A1) /* primary */
|
||||
|
||||
}
|
||||
@@ -70,6 +82,7 @@ open annotation class AA : Annotation {
|
||||
// CHECK:
|
||||
// Mangled name: #test1(){}
|
||||
// Public signature: /test1|4297044443957252634[0]
|
||||
// Public signature debug description: test1(){}
|
||||
@A1(xs = [1, 2, 3])
|
||||
@A2(xs = ["a", "b", "c"])
|
||||
@AA(xs = [A1(xs = [4]), A1(xs = [5]), A1(xs = [6])])
|
||||
@@ -78,6 +91,7 @@ fun test1(): Unit
|
||||
// CHECK:
|
||||
// Mangled name: #test2(){}
|
||||
// Public signature: /test2|4279114864133353152[0]
|
||||
// Public signature debug description: test2(){}
|
||||
@A1(xs = [])
|
||||
@A2(xs = [])
|
||||
@AA(xs = [])
|
||||
|
||||
Reference in New Issue
Block a user