Files
kotlin-fork/idea/testData/intentions/lambdaToAnonymousFunction/hasSomeStatements.kt
T

8 lines
121 B
Kotlin
Vendored

fun foo(f: (Int) -> String) {}
fun test() {
foo <caret>{
val b = it == 1
if (b) "1" else "2"
}
}