mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-74518: Associations for variable negation haven't been cleared on flush.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user