[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
@@ -1,11 +1,17 @@
// CHECK JVM_IR:
// Mangled name: #foo!kotlin.Int(){}kotlin.Int
// Public signature: /foo|-298514072419997277[0]
// CHECK JS_IR NATIVE:
// Mangled name: #foo!kotlin.Int(){}
// Public signature: /foo|-2047845050892281405[0]
fun foo($context_receiver_0: Int): Int
// CHECK JVM_IR:
// Mangled name: #foo!kotlin.Int!kotlin.String(){}kotlin.Int
// Public signature: /foo|7076979931255393427[0]
// CHECK JS_IR NATIVE:
// Mangled name: #foo!kotlin.Int!kotlin.String(){}
// Public signature: /foo|-6855876411691473491[0]
fun foo($context_receiver_0: Int, $context_receiver_1: String): Int
// CHECK:
@@ -14,5 +20,7 @@ fun foo($context_receiver_0: Int, $context_receiver_1: String): Int
fun test(): Unit
// CHECK JVM_IR:
// Mangled name: #test(){}#<anonymous>#static@kotlin.Int(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test(){}#<anonymous>#static@kotlin.Int(){}
local fun Int.<anonymous>(): Int