0747fc36de
`FirSafeCallExpression` does not implement `FirResolvable`, so we need to unwrap it to correctly resolve calls like `foo?.bar()` when `bar` is a lambda with receiver parameter or a functional type property ^KTIJ-27434 Fixed
9 lines
108 B
Kotlin
Vendored
9 lines
108 B
Kotlin
Vendored
package test
|
|
|
|
class Foo {
|
|
val action: () -> Unit = {}
|
|
}
|
|
|
|
fun usage(foo: Foo) {
|
|
foo.acti<caret>on()
|
|
} |