do not skip control flow for unreachable code (IDEA-87654)

This commit is contained in:
anna
2012-07-05 11:02:17 +02:00
parent 27da3854d3
commit 961086a6d1
6 changed files with 50 additions and 5 deletions
@@ -0,0 +1,13 @@
class Test {
public void test(boolean b) {
int a = 1;
if (true) {
System.out.println(a);
} else {
<selection>System.out.println(a);</selection>
}
}
}