8 lines
121 B
Kotlin
Vendored
8 lines
121 B
Kotlin
Vendored
fun foo(f: (Int) -> String) {}
|
|
|
|
fun test() {
|
|
foo <caret>{
|
|
val b = it == 1
|
|
if (b) "1" else "2"
|
|
}
|
|
} |