Repository: flex-falcon
Updated Branches:
  refs/heads/develop a3abbdb14 -> 2fc5068c1


FLEX-35115 patch from nabice


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2fc5068c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2fc5068c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2fc5068c

Branch: refs/heads/develop
Commit: 2fc5068c128ef7a937ac9ff17967d2537d20f00b
Parents: a3abbdb
Author: Alex Harui <[email protected]>
Authored: Tue Nov 15 10:14:28 2016 -0800
Committer: Alex Harui <[email protected]>
Committed: Tue Nov 15 10:14:28 2016 -0800

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/tree/as/ForLoopNode.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2fc5068c/compiler/src/main/java/org/apache/flex/compiler/internal/tree/as/ForLoopNode.java
----------------------------------------------------------------------
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/internal/tree/as/ForLoopNode.java
 
b/compiler/src/main/java/org/apache/flex/compiler/internal/tree/as/ForLoopNode.java
index 63eef3d..0f35776 100644
--- 
a/compiler/src/main/java/org/apache/flex/compiler/internal/tree/as/ForLoopNode.java
+++ 
b/compiler/src/main/java/org/apache/flex/compiler/internal/tree/as/ForLoopNode.java
@@ -150,7 +150,7 @@ public class ForLoopNode extends FixedChildrenNode 
implements IForLoopNode
         ArrayList<IExpressionNode> retVal = new ArrayList<IExpressionNode>(3);
         for (int i = 0; i < childCount; i++)
         {
-            IASNode child = getChild(i);
+            IASNode child = conditionsStatementsNode.getChild(i);
             if (child instanceof IExpressionNode)
                 retVal.add((IExpressionNode)child);
         }

Reply via email to