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