Files
kotlin-fork/idea/testData/slicer/outflow/lambdaResultWithInvokeCall.kt
T

9 lines
125 B
Kotlin
Vendored

// FLOW: OUT
fun test() {
val x = foo { <caret>1 }
}
fun foo(callback: () -> Int): Int {
return callback.invoke()
}