Revert "return null instead of undefined"

This reverts commit 2783e78959f0a16420ef452229d96c29ccc8078a.


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

Branch: refs/heads/develop
Commit: 3ca9f7bdd61fcdaf69d3d20f341c2eaef56ce414
Parents: 52db28e
Author: Alex Harui <[email protected]>
Authored: Tue May 24 16:27:48 2016 -0700
Committer: Alex Harui <[email protected]>
Committed: Tue May 24 16:27:48 2016 -0700

----------------------------------------------------------------------
 .../internal/codegen/externals/reference/ConstantReference.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3ca9f7bd/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
----------------------------------------------------------------------
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
index ff123ce..655fe57 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
@@ -95,7 +95,7 @@ public class ConstantReference extends BaseReference
         if (map.containsKey(type))
             return map.get(type);
 
-        return type.equals("*") ? "undefined" : "null";
+        return "undefined";
     }
 
 }

Reply via email to