[klib] Test signature descriptions in irText tests

KT-59486
This commit is contained in:
Sergej Jaskiewicz
2023-06-22 17:30:00 +02:00
committed by Space Team
parent 6142d75bb4
commit 5e63f7627f
562 changed files with 6867 additions and 9 deletions
@@ -6,13 +6,16 @@ interface IFoo {
// CHECK:
// Mangled name: IFoo@A{}foo
// Public signature: /IFoo.foo|1214000299789500455[0]
// Public signature debug description: @A{}foo
val A.foo: B
// CHECK JVM_IR:
// Mangled name: IFoo#<get-foo>@A(){}B
// Public signature: /IFoo.foo.<get-foo>|8070848468738985847[0]
// Public signature debug description: <get-foo>@A(){}B
// CHECK JS_IR NATIVE:
// Mangled name: IFoo#<get-foo>@A(){}
// Public signature: /IFoo.foo.<get-foo>|-1820743651074494698[0]
// Public signature debug description: <get-foo>@A(){}
get(): B
}
@@ -25,9 +28,11 @@ interface IInvoke {
// CHECK JVM_IR:
// Mangled name: IInvoke#invoke@B(){}kotlin.Int
// Public signature: /IInvoke.invoke|7560171197904259096[0]
// Public signature debug description: invoke@B(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IInvoke#invoke@B(){}
// Public signature: /IInvoke.invoke|-8763880178141053779[0]
// Public signature debug description: invoke@B(){}
operator fun B.invoke(): Int
}
@@ -39,6 +44,7 @@ object A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -50,6 +56,7 @@ object B {
// CHECK:
// Mangled name: B#<init>(){}
// Public signature: /B.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -57,5 +64,6 @@ object B {
// CHECK:
// Mangled name: #test(IFoo;IInvoke){}
// Public signature: /test|8554265419982095815[0]
// Public signature debug description: test(IFoo;IInvoke){}
fun test(fooImpl: IFoo, invokeImpl: IInvoke): Unit