Files
kotlin-fork/compiler/testData/ir/irText/expressions/sam/samConversions.sig.kt.txt
T
2023-07-14 20:26:45 +00:00

31 lines
1.1 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: #test0@J(java.lang.Runnable){}
// Public signature: /test0|7082314898497215723[0]
// Public signature debug description: test0@J(java.lang.Runnable){}
fun J.test0(a: Runnable): Unit
// CHECK:
// Mangled name: #test1(){}
// Public signature: /test1|4297044443957252634[0]
// Public signature debug description: test1(){}
fun test1(): Unit
// CHECK:
// Mangled name: #test2@J(){}
// Public signature: /test2|-509977306549568233[0]
// Public signature debug description: test2@J(){}
fun J.test2(): Unit
// CHECK:
// Mangled name: #test3@J(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test3|3795186268197616186[0]
// Public signature debug description: test3@J(kotlin.Function0<kotlin.Unit>){}
fun J.test3(a: Function0<Unit>): Unit
// CHECK:
// Mangled name: #test4@J(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>;kotlin.Boolean){}
// Public signature: /test4|-7934218580139307891[0]
// Public signature debug description: test4@J(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>;kotlin.Boolean){}
fun J.test4(a: Function0<Unit>, b: Function0<Unit>, flag: Boolean): Unit