[IR] Don't print multifile/synthetic facade class names in irText tests
This only applies to JVM and fq-names in declaration references in IR dumps. This enables us to run more irText tests on platforms other than JVM (see KT-58605).
This commit is contained in:
committed by
Space Team
parent
cc76bbd09d
commit
f2031ae642
+8
-2
@@ -6,9 +6,12 @@ class A<T : Any?> {
|
||||
// Mangled name: A#<init>!1:0(){}
|
||||
// Public signature: /A.<init>|5547349096232763669[0]
|
||||
constructor($context_receiver_0: T) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: A.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: A{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: A.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: A{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: T
|
||||
|
||||
}
|
||||
@@ -21,9 +24,12 @@ class B<P : Any?> {
|
||||
// Mangled name: B#<init>!kotlin.collections.Collection<1:0>(){}
|
||||
// Public signature: /B.<init>|-5453957848603821578[0]
|
||||
constructor($context_receiver_0: Collection<P>) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: B.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: B{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: B.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: B{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Collection<P>
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user