d91000e39c
... instead of just UNRESOLVED_REFERENCE when something went wrong during resolution. #KT-59401 related
8 lines
147 B
Kotlin
Vendored
8 lines
147 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
package test
|
|
|
|
fun nullableFun(): Int? = null
|
|
fun Int.foo() {}
|
|
|
|
val test1 = nullableFun()?::<!UNSAFE_CALL!>foo<!>
|