You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/04/14 00:28:58 UTC
git commit: [flex-falcon] [refs/heads/develop] - handle MXML case
Repository: flex-falcon
Updated Branches:
refs/heads/develop 3357a1021 -> 00a7085f2
handle MXML case
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/00a7085f
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/00a7085f
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/00a7085f
Branch: refs/heads/develop
Commit: 00a7085f2c29aa32867e6cdca0dba1d13fcf5fc6
Parents: 3357a10
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 13 15:24:45 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 13 15:24:45 2016 -0700
----------------------------------------------------------------------
.../flex/compiler/internal/codegen/js/utils/EmitterUtils.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/00a7085f/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/utils/EmitterUtils.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/utils/EmitterUtils.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/utils/EmitterUtils.java
index eb09a06..1180476 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/utils/EmitterUtils.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/utils/EmitterUtils.java
@@ -294,6 +294,12 @@ public class EmitterUtils
if (classNode == null) // script in MXML and AS interface definitions
{
+ if (parentNodeId == ASTNodeID.FunctionCallID && model.inE4xFilter)
+ {
+ // instance methods must be qualified with 'this'?
+ // or maybe we need to test if identifier exists on XML/XMLList
+ return false;
+ }
if (nodeDef instanceof VariableDefinition)
{
IDefinition pdef = ((VariableDefinition) nodeDef).getParent();