Files
kotlin/compiler/testData/writeSignature/callableProperty.kt

14 lines
244 B
Kotlin
Vendored

class Foo(val a: String)
fun test(s: () -> String): String {
return s()
}
fun box(): String {
return test(Foo("OK")::a)
}
// method: CallablePropertyKt$box$1::get
// jvm signature: ()Ljava/lang/Object;
// generic signature: null