Files
kotlin-fork/idea/testData/slicer/outflow/invokeExtensionLambda2.kt
T
Valentin Kipyatkov 8a1ea7b45e One more test
2020-04-18 01:24:59 +03:00

10 lines
181 B
Kotlin
Vendored

// FLOW: OUT
fun String.foo(<caret>p: String) {
val v1 = bar(p) { { this } }
}
inline fun bar(x: String, lambda: () -> String.() -> String): String {
return lambda()(x)
}