11 lines
134 B
Kotlin
Vendored
11 lines
134 B
Kotlin
Vendored
// FLOW: IN
|
|
|
|
fun foo(f: (Int) -> Unit): Int {
|
|
return f(1)
|
|
}
|
|
|
|
fun test() {
|
|
foo { value ->
|
|
println(<caret>value)
|
|
}
|
|
} |