CountingLoop: support parenthesized condition

This commit is contained in:
Tagir Valeev
2018-07-06 13:58:43 +07:00
parent f0ce91414c
commit d516456163
2 changed files with 2 additions and 2 deletions
@@ -6,7 +6,7 @@ import java.util.List;
public class Main {
public void testForLoop() {
List<Integer> result = new ArrayList<>();
for (in<caret>t i = 0; 10 >= i; i++) {
for (in<caret>t i = 0; (10 >= i); i++) {
result.add(i);
}
}