[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
Vendored
+6
@@ -5,18 +5,22 @@ open annotation class TestAnn : Annotation {
|
||||
// CHECK:
|
||||
// Mangled name: TestAnn{}x
|
||||
// Public signature: /TestAnn.x|-8060530855978347579[0]
|
||||
// Public signature debug description: {}x
|
||||
val x: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestAnn#<get-x>(){}kotlin.Int
|
||||
// Public signature: /TestAnn.x.<get-x>|4966956098150895696[0]
|
||||
// Public signature debug description: <get-x>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: TestAnn#<get-x>(){}
|
||||
// Public signature: /TestAnn.x.<get-x>|1482705010654679335[0]
|
||||
// Public signature debug description: <get-x>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestAnn#<init>(kotlin.Int){}
|
||||
// Public signature: /TestAnn.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int) /* primary */
|
||||
|
||||
}
|
||||
@@ -28,11 +32,13 @@ class TestClass {
|
||||
// CHECK:
|
||||
// Mangled name: TestClass#<init>(){}
|
||||
// Public signature: /TestClass.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
@TestAnn(x = 1)
|
||||
constructor() /* primary */
|
||||
// CHECK:
|
||||
// Mangled name: TestClass#<init>(kotlin.Int){}
|
||||
// Public signature: /TestClass.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
@TestAnn(x = 2)
|
||||
constructor(x: Int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user