Files
kotlin-fork/compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.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

8 lines
135 B
Kotlin
Vendored

fun box(): String {
val p: (String) -> Boolean = if (true) {
{ true }
} else {
{ true }
}
return "OK"
}