[FIR] Unbound aliased variables in DFA more carefully

This commit is contained in:
Dmitriy Novozhilov
2020-01-21 17:42:55 +03:00
parent 2a23e14e2b
commit 384a094193
7 changed files with 15 additions and 9 deletions
@@ -2,7 +2,7 @@
fun foo(arg: Int?): Int {
var i = arg
if (i != null && i++ == 5) {
return i<!INAPPLICABLE_CANDIDATE!>--<!> + i
return i-- + i
}
return 0
}