Files
kotlin-fork/idea/testData/slicer/inflow/extensionLambdaParameter.kt
T

19 lines
197 B
Kotlin
Vendored

// FLOW: IN
// RUNTIME_WITH_SOURCES
fun foo(f: String.(Int) -> Unit) {
f("", 1)
"".f(2)
with("") {
f(3)
}
}
fun test() {
foo { i ->
val v = <caret>i
}
}