flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/4] git commit: [flex-falcon] [refs/heads/develop] - fix package names
Date Fri, 30 Oct 2015 06:53:05 GMT
fix package names


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

Branch: refs/heads/develop
Commit: 5bc14625e213e6fb3f62f524b3b80671d063bd23
Parents: fdef157
Author: Alex Harui <aharui@apache.org>
Authored: Thu Oct 29 23:24:53 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Oct 29 23:24:53 2015 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5bc14625/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java
index 52945de..ce9f1c6 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/InterfaceEmitter.java
@@ -21,6 +21,7 @@ package org.apache.flex.compiler.internal.codegen.js.jx;
 
 import org.apache.flex.compiler.codegen.ISubEmitter;
 import org.apache.flex.compiler.codegen.js.IJSEmitter;
+import org.apache.flex.compiler.definitions.ITypeDefinition;
 import org.apache.flex.compiler.internal.codegen.as.ASEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSDocEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSEmitterTokens;
@@ -85,7 +86,8 @@ public class InterfaceEmitter extends JSSubEmitter implements
                 	IAccessorNode accessor = (IAccessorNode)mnode;
                 	String propType = accessor.getVariableType();
                 	IExpressionNode typeNode = accessor.getVariableTypeNode();
-                	String packageName = typeNode.getPackageName();
+                	ITypeDefinition typeDef = typeNode.resolveType(project);
+                	String packageName = typeDef.getPackageName();
                 	packageName = project.getActualPackageName(packageName);
                     write(JSDocEmitterTokens.JSDOC_OPEN);
                     write(ASEmitterTokens.SPACE);


Mime
View raw message