Fixed #2162 AS3 try inside foreach

This commit is contained in:
Jindra Petřík
2023-12-22 00:57:53 +01:00
parent a4c2680053
commit 939d909633
10 changed files with 145 additions and 39 deletions

View File

@@ -834,6 +834,11 @@ public class Graph {
processSwitches(list, -1);
}
protected void processOther(List<GraphTargetItem> list, long lastLoopId) {
}
/*
while(something){
@@ -2891,6 +2896,7 @@ public class Graph {
boolean hasContinue = false;
processIfs(loopItem.commands);
processSwitches(loopItem.commands, currentLoop.id);
processOther(loopItem.commands, currentLoop.id);
checkContinueAtTheEnd(loopItem.commands, currentLoop);
List<ContinueItem> continues = loopItem.getContinues();