mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 15:32:15 +00:00
Fixed #1890 AS3 - Removing first assignment in for in loop
This commit is contained in:
@@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#1827] Video replacing VP6 reading
|
||||
- [#1926] Constructors namespace taken from class - should be always public
|
||||
- [#1772] AS1/2 decompilation - StackOverflow during getVariables function
|
||||
- [#1890] AS3 - Removing first assignment in for in loop
|
||||
|
||||
### Changed
|
||||
- [#1913] SVG export/import of shapes - shape exact position (bounds) is retained
|
||||
|
||||
@@ -73,7 +73,9 @@ public class ForInAVM2Item extends LoopItem implements Block {
|
||||
|
||||
public ForInAVM2Item(GraphSourceItem instruction, GraphSourceItem lineStartIns, Loop loop, InAVM2Item expression, List<GraphTargetItem> commands) {
|
||||
super(instruction, lineStartIns, loop);
|
||||
if (!commands.isEmpty()) {
|
||||
|
||||
//Commented out - see the comment in ForEachInAVM2Item
|
||||
/*if (!commands.isEmpty()) {
|
||||
GraphTargetItem firstAssign = commands.get(0);
|
||||
if (firstAssign instanceof SetTypeAVM2Item) {
|
||||
if (expression.object instanceof LocalRegAVM2Item) {
|
||||
@@ -87,7 +89,7 @@ public class ForInAVM2Item extends LoopItem implements Block {
|
||||
}
|
||||
//locAssign.
|
||||
}
|
||||
}
|
||||
}*/
|
||||
this.expression = expression;
|
||||
this.commands = commands;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user