IDEA-136452 Can't surround with {} code starting from the comment under if statement

This commit is contained in:
Dmitry Batrak
2015-02-19 10:35:55 +03:00
parent 1afa92e745
commit db78755a84
4 changed files with 40 additions and 15 deletions
@@ -0,0 +1,7 @@
class Test {
void m() {
if (true)
<selection> // comment
System.out.println();</selection>
}
}
@@ -0,0 +1,8 @@
class Test {
void m() {
if (true) {
// comment
System.out.println();
}
}
}