flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschma...@apache.org
Subject git commit: [flex-falcon] fixed bug in ArrayLiteralNode.java where identifier was cast to literal
Date Thu, 28 Mar 2013 12:21:42 GMT
Updated Branches:
  refs/heads/develop 112d8ca7f -> 6dc7db0cc


[flex-falcon] fixed bug in ArrayLiteralNode.java where identifier was cast to literal


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

Branch: refs/heads/develop
Commit: 6dc7db0cc5daea1695b8193eff3c8aff79d7259d
Parents: 112d8ca
Author: Michael Schmalle <mschmalle@teotigraphix.com>
Authored: Thu Mar 28 08:21:19 2013 -0400
Committer: Michael Schmalle <mschmalle@teotigraphix.com>
Committed: Thu Mar 28 08:21:19 2013 -0400

----------------------------------------------------------------------
 .../internal/tree/as/ArrayLiteralNode.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6dc7db0c/compiler/src/org/apache/flex/compiler/internal/tree/as/ArrayLiteralNode.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/tree/as/ArrayLiteralNode.java
b/compiler/src/org/apache/flex/compiler/internal/tree/as/ArrayLiteralNode.java
index a8a7ca9..0e79af5 100644
--- a/compiler/src/org/apache/flex/compiler/internal/tree/as/ArrayLiteralNode.java
+++ b/compiler/src/org/apache/flex/compiler/internal/tree/as/ArrayLiteralNode.java
@@ -113,7 +113,7 @@ public class ArrayLiteralNode extends BaseLiteralContainerNode
             if (child instanceof ILiteralNode)
                 builder.append(((ILiteralNode)child).getValue(rawValue));
             else if (child instanceof IIdentifierNode)
-                builder.append(((ILiteralNode)child).getValue(rawValue));
+                builder.append(((IIdentifierNode)child).getName());
 
             if (i + 1 < (childcount))
                 builder.append(",");


Mime
View raw message