454ae3b17a
Previously if an unsafe call is to an overloaded function, FIR checkers report NONE_APPLICABLE. This change instead report them as UNSAFE_CALL or its variants.
9 lines
170 B
Kotlin
Vendored
9 lines
170 B
Kotlin
Vendored
fun test() {
|
|
val out : Int? = null
|
|
val x : Nothing? = null
|
|
if (out != x)
|
|
out<!UNSAFE_CALL!>.<!>plus(1)
|
|
if (out == x) return
|
|
out<!UNSAFE_CALL!>.<!>plus(1)
|
|
}
|