flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - FLEX-35115 patch from nabice
Date Tue, 15 Nov 2016 18:14:33 GMT
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 <aharui@apache.org>
Authored: Tue Nov 15 10:14:28 2016 -0800
Committer: Alex Harui <aharui@apache.org>
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);
         }


Mime
View raw message