This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 8cb2429 add type info to vars
8cb2429 is described below
commit 8cb24296f5930e427c3f1a62f2aed54e9a6aa5b7
Author: Alex Harui <[email protected]>
AuthorDate: Mon Feb 5 21:57:49 2018 -0800
add type info to vars
---
.../compiler/internal/codegen/js/royale/JSRoyaleASDocEmitter.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleASDocEmitter.java
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleASDocEmitter.java
index 7103b66..b22548f 100644
---
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleASDocEmitter.java
+++
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleASDocEmitter.java
@@ -473,6 +473,9 @@ public class JSRoyaleASDocEmitter extends JSGoogEmitter
implements IJSRoyaleEmit
write(" \"qname\": \"");
write(formatQualifiedName(node.getQualifiedName()));
writeNewline("\",");
+ write(" \"return\": \"");
+
write(formatQualifiedName(node.getVariableTypeNode().resolveType(getWalker().getProject()).getQualifiedName()));
+ writeNewline("\",");
writeDefinitionAttributes(node.getDefinition());
indentPush();
if (asDoc != null)
--
To stop receiving notification emails like this one, please contact
[email protected].