for (each) in

This commit is contained in:
Jindra Petřík
2021-02-08 20:15:19 +01:00
parent 4e191a701f
commit 4ac7c72499
7 changed files with 133 additions and 18 deletions
@@ -471,7 +471,7 @@ public class ActionGraph extends Graph {
List<List<GraphTargetItem>> caseCommands = new ArrayList<>();
GraphPart next = breakPart;
GraphTargetItem ti = checkLoop(next, stopPart, loops);
GraphTargetItem ti = checkLoop(new ArrayList<GraphTargetItem>(), next, stopPart, loops);
//create switch as new loop break command detection to work
currentLoop = new Loop(loops.size(), null, next);