flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [3/7] git commit: [flex-falcon] [refs/heads/develop] - fixed missing toString() in externc output
Date Wed, 06 Jan 2016 07:37:01 GMT
fixed missing toString() in externc output


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

Branch: refs/heads/develop
Commit: 9c6437db23d32e1c52a476626597b315cefcfaf3
Parents: 91ba91d
Author: Andy Dufilie <andrew.dufilie@iweave.com>
Authored: Tue Jan 5 10:06:55 2016 -0500
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jan 5 23:31:55 2016 -0800

----------------------------------------------------------------------
 .../internal/codegen/externals/reference/MethodReference.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9c6437db/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
index 58b7034..f77928e 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
@@ -143,8 +143,7 @@ public class MethodReference extends MemberReference
         // allow overrides of toString for Number, int and uint
         if (!qName.equals("toString") && getClassReference().hasSuperMethod(qName))
             return;
-        else if (qName.equals("toString") &&
-        		!(className.equals("Number") || className.equals("int") || className.equals("uint")))
+        else if (qName.equals("toString") && className.equals("Object"))
         	return;
 
         emitComment(sb);


Mime
View raw message