flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [45/50] git commit: [flex-falcon] [refs/heads/dual] - MXML output wasn't including interface impls
Date Thu, 13 Apr 2017 17:44:16 GMT
MXML output wasn't including interface impls


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

Branch: refs/heads/dual
Commit: da2d6923702c70880a35e675ac0be6bd41b06d84
Parents: 4930a2a
Author: Alex Harui <aharui@apache.org>
Authored: Sun Apr 2 23:25:10 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Apr 2 23:25:10 2017 -0700

----------------------------------------------------------------------
 .../internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java      | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/da2d6923/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index 74fa0a5..573e0ff 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -691,6 +691,14 @@ public class MXMLFlexJSEmitter extends MXMLEmitter implements
         writeNewline("/**");
         writeNewline(" * @constructor");
         writeNewline(" * @extends {" + formatQualifiedName(baseClassName) + "}");
+        if (interfaceList != null && interfaceList.length() > 0)
+        {
+        	String[] interfaces = interfaceList.split(",");
+        	for (String iface : interfaces)
+        	{
+        		writeNewline(" * @implements {" + formatQualifiedName(iface.trim()) + "}");
+        	}
+        }
         writeNewline(" */");
         writeToken(formatQualifiedName(cname));
         writeToken(ASEmitterTokens.EQUAL);


Mime
View raw message