[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
@@ -5,14 +5,17 @@ class Context {
// CHECK:
// Mangled name: Context#<init>(){}
// Public signature: /Context.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: Context#foo(){}kotlin.Int
// Public signature: /Context.foo|-1256155405684507276[0]
// Public signature debug description: foo(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Context#foo(){}
// Public signature: /Context.foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Int
}
@@ -24,6 +27,7 @@ class Test {
// CHECK:
// Mangled name: Test#<init>!Context(){}
// Public signature: /Test.<init>|4848133296495274545[0]
// Public signature debug description: <init>!Context(){}
constructor($context_receiver_0: Context) /* primary */
// CHECK JVM_IR:
// Mangled name computed from Ir: Test.contextReceiverField0
@@ -36,14 +40,17 @@ class Test {
// CHECK:
// Mangled name: Test#bar(){}
// Public signature: /Test.bar|496682602797471549[0]
// Public signature debug description: bar(){}
fun bar(): Unit
// CHECK JVM_IR:
// Mangled name: Test#foo(){}kotlin.Int
// Public signature: /Test.foo|-1256155405684507276[0]
// Public signature debug description: foo(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Test#foo(){}
// Public signature: /Test.foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Int
}