flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/2] git commit: [flex-falcon] [refs/heads/develop] - parameters in an internal class (a second class outside the package in a single file) were having this. prefixed, which is not right
Date Mon, 16 Nov 2015 07:27:51 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 63ffe0fc8 -> 51e55e6c0


parameters in an internal class (a second class outside the package in a single file) were
having this. prefixed, which is not right


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

Branch: refs/heads/develop
Commit: 5ecf114687172f98ca28379100581ca6cab1b61a
Parents: 63ffe0f
Author: Alex Harui <aharui@apache.org>
Authored: Sun Nov 15 23:25:38 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Nov 15 23:25:38 2015 -0800

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/utils/EmitterUtils.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5ecf1146/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 a6c6d8c..75e6e24 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
@@ -232,11 +232,11 @@ public class EmitterUtils
 
         boolean identifierIsMemberAccess = parentNodeId == ASTNodeID.MemberAccessExpressionID;
 
+        if (nodeDef instanceof ParameterDefinition)
+            return false;
+        
         if (classNode == null) // script in MXML and AS interface definitions
         {
-            if (nodeDef instanceof ParameterDefinition)
-                return false;
-
             if (nodeDef instanceof VariableDefinition)
             {
                 IDefinition pdef = ((VariableDefinition) nodeDef).getParent();


Mime
View raw message