Files
kotlin-fork/compiler/testData/codegen/box/safeCall/kt3430.kt
T
2018-06-28 12:26:41 +02:00

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"
}