Files
kotlin-fork/idea/testData/intentions/convertLambdaToReference/memberOuterScope.kt
T
2017-12-15 13:36:32 +03:00

11 lines
186 B
Kotlin
Vendored

// IS_APPLICABLE: true
// WITH_RUNTIME
class Test {
fun test() {
with(Any()) {
val f = { s: String<caret> -> foo(s) }
}
}
fun foo(s: String) {}
}