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

31 lines
1.1 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Unit
// CHECK JVM_IR:
// Mangled name: #test1(){}java.lang.Runnable
// Public signature: /test1|-613876279970827772[0]
// Public signature debug description: test1(){}java.lang.Runnable
fun test1(): Runnable
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Function0<kotlin.Unit>){}java.lang.Runnable
// Public signature: /test2|-6701609995382300258[0]
// Public signature debug description: test2(kotlin.Function0<kotlin.Unit>){}java.lang.Runnable
fun test2(a: Function0<Unit>): Runnable
// CHECK JVM_IR:
// Mangled name: #test3(){}java.lang.Runnable
// Public signature: /test3|-2297362667420108091[0]
// Public signature debug description: test3(){}java.lang.Runnable
fun test3(): Runnable
// CHECK JVM_IR:
// Mangled name: #test4(){}java.util.Comparator<kotlin.Int>
// Public signature: /test4|-6683954143544750623[0]
// Public signature debug description: test4(){}java.util.Comparator<kotlin.Int>
fun test4(): Comparator<Int>