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
10 lines
138 B
Kotlin
Vendored
10 lines
138 B
Kotlin
Vendored
fun foo() {
|
|
val <!UNUSED_VARIABLE!>x<!> = fun(s: String) {}
|
|
|
|
fun nested() {
|
|
val x = fun(i: Int) {}
|
|
|
|
x(10)
|
|
}
|
|
}
|