royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] 10/11: turn off type-inferencing for now. It looked like it was generating bad code around VO initialization
Date Mon, 19 Feb 2018 00:23:09 GMT
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-asjs.git

commit bccff277dbe376a0fd0d4b6da54f699706f13034
Author: Alex Harui <aharui@apache.org>
AuthorDate: Sun Feb 18 16:21:45 2018 -0800

    turn off type-inferencing for now.  It looked like it was generating bad code around VO
initialization
---
 examples/royale/ASDoc/src/main/config/compile-app-config.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/royale/ASDoc/src/main/config/compile-app-config.xml b/examples/royale/ASDoc/src/main/config/compile-app-config.xml
index a617364..9f3831f 100644
--- a/examples/royale/ASDoc/src/main/config/compile-app-config.xml
+++ b/examples/royale/ASDoc/src/main/config/compile-app-config.xml
@@ -17,6 +17,10 @@
 
 -->
 <royale-config>
+    <remove-circulars>true</remove-circulars>
+    <js-compiler-option>
+        <option>--skip_type_inference</option>
+    </js-compiler-option>
     <js-output-optimization>
         <optimization>skipAsCoercions</optimization>
     </js-output-optimization>

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

Mime
View raw message