Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/overloadPriority.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

38 lines
1.0 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: Context
// Public signature: /Context|null[0]
class Context {
// CHECK:
// Mangled name: Context#<init>(){}
// Public signature: /Context.<init>|-5645683436151566731[0]
constructor() /* primary */
}
// 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:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
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