FIR DFA: do not remove statements about LHS of !!

Value equality statements about the result also propagate to left-hand
side, so these statements can still be useful.
This commit is contained in:
pyos
2022-11-08 16:53:37 +01:00
committed by teamcity
parent 1ff968eca2
commit ac0137f45f
5 changed files with 10 additions and 25 deletions
@@ -63,7 +63,7 @@ fun case_2(value_1: Int?) {
// TESTCASE NUMBER: 3
fun case_3(value_1: Int?) {
if (contracts.case_3(value_1)!!) {
value_1<!UNSAFE_CALL!>.<!>inv()
value_1.inv()
}
}