Files
kotlin-fork/idea/testData/refactoring/rename/inplace/GetToInvokeWithSafeQualifiedExpr.kt.after
T
2018-02-09 14:17:39 +03:00

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"
}
}
}