From 9cc4fd5a52eff588d6f24aff195ecf97c36cafda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 23 Nov 2014 12:00:42 +0100 Subject: [PATCH] Issue #725 AS3 direct edit - Unbounded type fix --- .../flash/abc/avm2/parser/script/AVM2SourceGenerator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java index f27eae6ca..d5eef35eb 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java @@ -1308,6 +1308,9 @@ public class AVM2SourceGenerator implements SourceGenerator { if (type instanceof UnboundedTypeItem) { return 0; } + if((""+type).equals("*")){ + return 0; + } return resolveType(localData, type, abc, allABCs); /*