[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:
Sergej Jaskiewicz
2023-06-01 16:43:17 +02:00
committed by Space Team
parent cc76bbd09d
commit f2031ae642
191 changed files with 744 additions and 440 deletions
@@ -12,11 +12,17 @@ class Context {
// CHECK JVM_IR:
// Mangled name: #f!Context(){}kotlin.String
// Public signature: /f|-5175802051654911360[0]
// CHECK JS_IR NATIVE:
// Mangled name: #f!Context(){}
// Public signature: /f|-1050574650869165395[0]
fun f($context_receiver_0: Context): String
// CHECK JVM_IR:
// Mangled name: #f(){}kotlin.Any
// Public signature: /f|-2324325393552926316[0]
// CHECK JS_IR NATIVE:
// Mangled name: #f(){}
// Public signature: /f|5316533450599009716[0]
fun f(): Any
// CHECK:
@@ -25,5 +31,7 @@ fun f(): Any
fun test(): Unit
// CHECK JVM_IR:
// Mangled name: #test(){}#<anonymous>#static@Context(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test(){}#<anonymous>#static@Context(){}
local fun Context.<anonymous>(): Int