7 lines
128 B
Kotlin
Vendored
7 lines
128 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
fun f(b : Int.(Int)->Int) = 1?.b(1)
|
|
|
|
fun box(): String {
|
|
val x = f { this + it }
|
|
return "OK"
|
|
} |