5c6bba9f14
#KT-22705 Fixed
17 lines
253 B
Plaintext
Vendored
17 lines
253 B
Plaintext
Vendored
class WInvoke {
|
|
operator fun invoke(body: () -> Unit) { }
|
|
}
|
|
|
|
class Second {
|
|
val testInvoke = WInvoke()
|
|
}
|
|
|
|
fun boo(s: Second?, body: () -> Unit) { }
|
|
|
|
fun foo(s: Second?) {
|
|
boo(s) {
|
|
s?.testInvoke {
|
|
"Hello"
|
|
}
|
|
}
|
|
} |