[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
+12
-1
@@ -6,14 +6,20 @@ class Inner {
|
||||
// Mangled name: Inner#<init>!Outer(kotlin.Any){}
|
||||
// Public signature: /Inner.<init>|7428094623108856579[0]
|
||||
constructor($context_receiver_0: Outer, arg: Any) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: Inner.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Inner{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: Inner.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Inner{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Outer
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Inner#bar(){}kotlin.Int
|
||||
// Public signature: /Inner.bar|-6436649210114349217[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Inner#bar(){}
|
||||
// Public signature: /Inner.bar|496682602797471549[0]
|
||||
fun bar(): Int
|
||||
|
||||
}
|
||||
@@ -30,6 +36,9 @@ class Outer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Outer#<get-x>(){}kotlin.Int
|
||||
// Public signature: /Outer.x.<get-x>|4966956098150895696[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Outer#<get-x>(){}
|
||||
// Public signature: /Outer.x.<get-x>|1482705010654679335[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -45,5 +54,7 @@ class Outer {
|
||||
fun f(outer: Outer): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #f(Outer){}#<anonymous>#static@Outer(){}Inner
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #f(Outer){}#<anonymous>#static@Outer(){}
|
||||
local fun Outer.<anonymous>(): Inner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user