Fixed: #2474 Gotos incorrectly decompiled

This commit is contained in:
Jindra Petřík
2025-06-29 22:58:28 +02:00
parent 483b673c6f
commit e6fb646b1b
18 changed files with 612 additions and 16 deletions
@@ -1391,6 +1391,7 @@ public class AVM2Graph extends Graph {
List<GraphPart> stopPart2 = new ArrayList<>(stopPart);
List<StopPartKind> stopPartKind2 = new ArrayList<>(stopPartKind);
stopPart2.add(exAfterPart);
stopPartKind2.add(StopPartKind.OTHER);
if (defaultPart != null) {
stopPart2.add(defaultPart);
stopPartKind2.add(StopPartKind.OTHER);