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

15 lines
176 B
Kotlin
Vendored

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