Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/overloading.sig.kt.txt
T
Sergej Jaskiewicz f2031ae642 [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).
2023-06-05 10:40:17 +00:00

27 lines
927 B
Kotlin
Vendored

// 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:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
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