Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceInvoke/dotQualifiedReceiver3.kt
T
2020-04-15 09:59:23 +02:00

12 lines
136 B
Kotlin
Vendored

class A {
fun b() = B()
}
class B {
operator fun invoke(f: () -> Unit) {}
}
fun test(a: A) {
a.b().<caret>invoke {
}
}