UnrollLoopAction: comment handling fixed

This commit is contained in:
Tagir Valeev
2017-12-04 17:45:10 +07:00
parent 6746c6e1d1
commit ff3d49c50d
3 changed files with 7 additions and 2 deletions
@@ -11,5 +11,6 @@ class Test {
System.out.println("Hi!" + 7);
System.out.println("Hi!" + 8);
System.out.println("Hi!" + 9);
// line comment
}
}
@@ -1,7 +1,8 @@
// "Unroll loop" "true"
class Test {
void test() {
fo<caret>r (int i = 0; i < 10; i++) {
fo<caret>r (int i = 0; i < 10; i++ // line comment
) {
System.out.println("Hi!" + i);
}
}