flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject [5/6] git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: externc converts an empty union type to *
Date Fri, 16 Dec 2016 23:26:23 GMT
compiler-jx: externc converts an empty union type to *


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

Branch: refs/heads/develop
Commit: 24c44fbc1845a2833213569dd713e2af140a4ca4
Parents: 1c2570a
Author: Josh Tynjala <joshtynjala@gmail.com>
Authored: Fri Dec 16 13:02:58 2016 -0800
Committer: Josh Tynjala <joshtynjala@gmail.com>
Committed: Fri Dec 16 15:25:39 2016 -0800

----------------------------------------------------------------------
 .../compiler/internal/codegen/externals/utils/JSTypeUtils.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/24c44fbc/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/utils/JSTypeUtils.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/utils/JSTypeUtils.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/utils/JSTypeUtils.java
index 1e6feaa..966007e 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/utils/JSTypeUtils.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/utils/JSTypeUtils.java
@@ -163,6 +163,10 @@ public class JSTypeUtils
         {
             return "Object /* " + type + " */";
         }
+        else if (type.equals("None"))
+        {
+            return "* /* " + type + " */";
+        }
         else
         {
             if (type.indexOf("Array<") == 0)


Mime
View raw message