Issue #725 AS1/2 fixed submethods scope problem

This commit is contained in:
Jindra Petřík
2014-11-23 09:07:42 +01:00
parent bda7aeba79
commit 6899e9e6ed
@@ -1484,7 +1484,7 @@ public class AVM2SourceGenerator implements SourceGenerator {
}
}
int slotScope = className == null ? 0 : 1;
int slotScope = subMethod? 0 : 1;
for (AssignableAVM2Item an : subvariables) {
if (an instanceof NameAVM2Item) {