Fixed AS1/2 actioncontainers (like try) inside ifs

This commit is contained in:
Jindra Petřík
2021-12-06 08:23:13 +01:00
parent f125c311f9
commit 4f8cac556d
2 changed files with 2 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file.
- AS3 - direct editation - resolve properties and local regs before types
- AS3 - direct editation - call on index
- Incorrect position in Flash Player preview and SWF export
- AS1/2 actioncontainers (like try) inside ifs
## [15.0.0] - 2021-11-29
### Added

View File

@@ -2092,8 +2092,7 @@ public class Graph {
output.addAll(ex.getOutput());
for (GraphPart p : allParts) {
if (p.containsIP(ex.getIp())) {
if (ipStart == p.start) {
//can this happen? TODO: find some example in the wild
if (ex.getIp() == p.start) {
currentRet.addAll(output);
//to check for stopparts,etc. we need to call printGraph again
part = p;