Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC389200BC0 for ; Tue, 15 Nov 2016 19:14:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BAD18160B03; Tue, 15 Nov 2016 18:14:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 10C77160AF2 for ; Tue, 15 Nov 2016 19:14:33 +0100 (CET) Received: (qmail 89330 invoked by uid 500); 15 Nov 2016 18:14:33 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 89322 invoked by uid 99); 15 Nov 2016 18:14:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 18:14:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 03AE8E08B3; Tue, 15 Nov 2016 18:14:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Message-Id: <0b28ab858a99437791b6d6868f644c00@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-falcon] [refs/heads/develop] - FLEX-35115 patch from nabice Date: Tue, 15 Nov 2016 18:14:33 +0000 (UTC) archived-at: Tue, 15 Nov 2016 18:14:34 -0000 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 Authored: Tue Nov 15 10:14:28 2016 -0800 Committer: Alex Harui 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 retVal = new ArrayList(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); }