[FIR] Consider Nothing? as null constant in DFA, ^KT-44561 Fixed
This commit is contained in:
Vendored
+2
-2
@@ -2,7 +2,7 @@ fun test() {
|
||||
val out : Int? = null
|
||||
val x : Nothing? = null
|
||||
if (out != x)
|
||||
out<!UNSAFE_CALL!>.<!>plus(1)
|
||||
out.plus(1)
|
||||
if (out == x) return
|
||||
out<!UNSAFE_CALL!>.<!>plus(1)
|
||||
out.plus(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user