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.
7 lines
120 B
Kotlin
Vendored
7 lines
120 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
fun foo(): Int {
|
|
var i: Int? = 42
|
|
i = null
|
|
return i <!UNSAFE_OPERATOR_CALL!>+<!> 1
|
|
}
|