FIR DFA: generate type implications on all null comparisons
This commit is contained in:
@@ -39,12 +39,12 @@ fun bar(o: Any) {
|
||||
|
||||
fun baz(o: Boolean?) {
|
||||
if (o ?: false) {
|
||||
o<!UNSAFE_CALL!>.<!>hashCode()
|
||||
o.hashCode()
|
||||
}
|
||||
if (o ?: true) {
|
||||
|
||||
}
|
||||
else {
|
||||
o<!UNSAFE_CALL!>.<!>hashCode()
|
||||
o.hashCode()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user