flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [1/3] git commit: [flex-falcon] [refs/heads/develop] - FLEX-33917 emit interface types fully qualified when used as an argument in a function call
Date Tue, 19 Nov 2013 22:28:43 GMT
Updated Branches:
  refs/heads/develop 6d8761404 -> fc4b7cfe3


FLEX-33917 emit interface types fully qualified when used as an argument in a function call

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: eb288784de126177d9ed1515de3308ccf2fa3d53
Parents: 6d87614
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Tue Nov 19 23:25:33 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Tue Nov 19 23:25:33 2013 +0100

----------------------------------------------------------------------
 .../compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/eb288784/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 6802ba5..eda5579 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -604,8 +604,10 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
         boolean emitName = true;
 
         if (nodeDef != null
-                && (nodeDef.isStatic() || (nodeDef instanceof ClassDefinition &&
nodeDef
-                        .getParent() != null)))
+                && (nodeDef.isStatic() || (
+                        (nodeDef instanceof ClassDefinition || 
+                                nodeDef instanceof InterfaceDefinition) && 
+                        nodeDef.getParent() != null)))
         {
             String sname = nodeDef.getParent().getQualifiedName();
             if (sname.length() > 0)


Mime
View raw message