dff7d7b7b9
There were some ADAPTER_FOR_CALLABLE_REFERENCE functions with uninitialized parents at this point.
20 lines
330 B
Kotlin
Vendored
20 lines
330 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1309
|
|
// KJS_WITH_FULL_RUNTIME
|
|
|
|
// MODULE: lib
|
|
// FILE: lib.kt
|
|
|
|
interface I
|
|
operator fun I.invoke(arg: String): String =
|
|
arg
|
|
|
|
fun foo(context: I) =
|
|
emptyArray<String>().forEach(context::invoke)
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: main.kt
|
|
|
|
fun box(): String {
|
|
foo(object : I {})
|
|
return "OK"
|
|
} |