dfa: make state merging result predictable

when removing a!=b and a!=c && b==c, don't restore a!=c
This commit is contained in:
peter
2013-12-18 14:42:54 +01:00
parent e7d7b6172f
commit d255c5b10c
5 changed files with 49 additions and 5 deletions
@@ -0,0 +1,26 @@
import org.jetbrains.annotations.Nullable;
import java.io.File;
class Some {
void foo(String[] args) {
boolean b = false;
if (hashCode() == 2) {
b = new File("a").exists();
}
boolean b2 = hashCode() == 4;
if (!b2) {
return;
}
if (b) {
}
if (b) {
}
}
}