Fixed #1999 AS3 decompilation - XML constructor call with other than string argument

This commit is contained in:
Jindra Petřík
2023-04-02 20:18:22 +02:00
parent 25a367a369
commit 2d6180db50
2 changed files with 3 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ public class ConstructIns extends InstructionDefinition {
public static boolean walkXML(GraphTargetItem item, List<GraphTargetItem> list) {
boolean ret = walkXMLSub(item, list);
if (list.size() == 1) {
if (list.size() == 1 && (list.get(0) instanceof StringAVM2Item)) {
return true;
}
return ret;