9b3c3ae4ba
#KT-37967 Fixed
12 lines
136 B
Kotlin
Vendored
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 {
|
|
}
|
|
} |