c3a61f539b
- use `FirImplicitInvokeCall` instance check to detect implicit calls, it is cleaner than checking particular resolve type and "invoke" name - reuse `visitQualifiedAccesses` to update the CFG instead of manually searching through the `localProperties` (because it didn't work in the case of overloads) ^KT-64832 Fixed ^KT-61032 Fixed
6 lines
76 B
Kotlin
Vendored
6 lines
76 B
Kotlin
Vendored
suspend fun foo(action: suspend () -> Unit) {
|
|
val x = action
|
|
|
|
x()
|
|
}
|