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

15 lines
178 B
Kotlin
Vendored

// WITH_RUNTIME
fun foo(f: () -> Unit) {}
class Bar {
fun bar() {}
}
class Test {
fun test() {
with(Bar()) {
foo { <caret>bar() }
}
}
}