Files
kotlin-fork/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt
T
Dmitriy Novozhilov 1c0fd7342f [FIR] Support completion of lambdas with type variable as expected type
#KT-37310 Fixed
#KT-37304 Fixed
2020-03-06 18:10:52 +03:00

5 lines
73 B
Kotlin
Vendored

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