mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 20:21:59 +00:00
Fixed #1761 AS3 - try..finally inside another structure like if
This commit is contained in:
@@ -462,15 +462,17 @@ public class AVM2Graph extends Graph {
|
||||
}
|
||||
}
|
||||
|
||||
//return in finally block is joined after switch decision
|
||||
for (GraphPart p : switchPart.nextParts) {
|
||||
//This caused problems, so it's commented out
|
||||
//the tests still pass, so I can only wonder why it's there. :-(
|
||||
//return in finally block is joined after switch decision
|
||||
/*for (GraphPart p : switchPart.nextParts) {
|
||||
for (GraphPart r : p.refs) {
|
||||
if (r != switchPart) {
|
||||
localData.finallyJumps.put(r, p);
|
||||
localData.finallyJumpsToFinallyIndex.put(r, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
localData.ignoredSwitches.put(e, switchPart);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user