Files
kotlin-fork/idea/testData/intentions/convertLambdaToReference/extensionOuterScope.kt
T
2018-08-14 15:39:26 +03:00

13 lines
189 B
Kotlin
Vendored

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