IDEA-74518: Associations for variable negation haven't been cleared on flush.

This commit is contained in:
Maxim Shafirov
2011-11-25 21:11:25 +04:00
parent 2fb8ab2a61
commit 57a78b6fab
8 changed files with 63 additions and 7 deletions
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,17 @@
public abstract class NoWarnings {
public void f() {
boolean A = false;
boolean B = false;
while (true) {
boolean f = g();
A = A || f;
B = B || !f;
if (A && B) {
return;
}
}
}
public abstract boolean g();
}