Files
kotlin-fork/compiler/testData/codegen/boxWithJava/samAdapters/cantCallInherited.kt
T

8 lines
131 B
Kotlin

fun box(): String {
var r = "FAIL"
val sub = Sub()
sub.safeInvoke(null)
sub.safeInvoke { r = "OK" }
return r
}