You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/05/24 07:43:39 UTC
[royale-compiler] branch develop updated: require Language when
outputting Vector. Fixes apache/royale-asjs#245
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 04c48db require Language when outputting Vector. Fixes apache/royale-asjs#245
04c48db is described below
commit 04c48db0e57d0b3f0de3e07275a4217e1262f753
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu May 24 00:43:28 2018 -0700
require Language when outputting Vector. Fixes apache/royale-asjs#245
---
.../royale/compiler/internal/codegen/js/royale/JSRoyaleEmitter.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleEmitter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleEmitter.java
index 87a53c3..15d6415 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleEmitter.java
@@ -1306,6 +1306,9 @@ public class JSRoyaleEmitter extends JSGoogEmitter implements IJSRoyaleEmitter
public void emitTypedExpression(ITypedExpressionNode node)
{
write(JSRoyaleEmitterTokens.VECTOR);
+ if (project instanceof RoyaleJSProject)
+ ((RoyaleJSProject)project).needLanguage = true;
+ getModel().needLanguage = true;
}
boolean isExternal(String className)
--
To stop receiving notification emails like this one, please contact
aharui@apache.org.