Files
kotlin-fork/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt
T
2019-11-19 11:00:09 +03:00

6 lines
103 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
val foo: ((String) -> String) = run {
{ it }
}
fun box() = foo("OK")