[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
+4
@@ -5,6 +5,7 @@ class A<T : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>!1:0(){}
|
||||
// Public signature: /A.<init>|5547349096232763669[0]
|
||||
// Public signature debug description: <init>!1:0(){}
|
||||
constructor($context_receiver_0: T) /* primary */
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: A.contextReceiverField0
|
||||
@@ -23,6 +24,7 @@ class B<P : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>!kotlin.collections.Collection<1:0>(){}
|
||||
// Public signature: /B.<init>|-5453957848603821578[0]
|
||||
// Public signature debug description: <init>!kotlin.collections.Collection<1:0>(){}
|
||||
constructor($context_receiver_0: Collection<P>) /* primary */
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: B.contextReceiverField0
|
||||
@@ -37,10 +39,12 @@ class B<P : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: #bar@kotlin.collections.Collection<kotlin.Int>(){}
|
||||
// Public signature: /bar|-6231113953181180683[0]
|
||||
// Public signature debug description: bar@kotlin.collections.Collection<kotlin.Int>(){}
|
||||
fun Collection<Int>.bar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #foo@kotlin.Int(){}
|
||||
// Public signature: /foo|4521317896132265411[0]
|
||||
// Public signature debug description: foo@kotlin.Int(){}
|
||||
fun Int.foo(): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user