flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/2] git commit: [flex-falcon] [refs/heads/JsToAs] - no need for _is and _as any more
Date Thu, 24 Sep 2015 17:55:48 GMT
no need for _is and _as any more


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

Branch: refs/heads/JsToAs
Commit: 343a6a60028ea251778d4154685bc7d6438f48a5
Parents: d905c62
Author: Alex Harui <aharui@apache.org>
Authored: Thu Sep 24 10:56:03 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Sep 24 10:56:03 2015 -0700

----------------------------------------------------------------------
 .../internal/codegen/js/vf2js/TestVF2JSExpressions.java        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/343a6a60/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/vf2js/TestVF2JSExpressions.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/vf2js/TestVF2JSExpressions.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/vf2js/TestVF2JSExpressions.java
index a05694c..3ba79e7 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/vf2js/TestVF2JSExpressions.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/vf2js/TestVF2JSExpressions.java
@@ -94,7 +94,7 @@ public class TestVF2JSExpressions extends TestGoogExpressions
     {
         IBinaryOperatorNode node = getBinaryNode("a as b");
         asBlockWalker.visitBinaryOperator(node);
-        assertOut("org.apache.flex.utils.Language._as(a, b)");
+        assertOut("org.apache.flex.utils.Language.as(a, b)");
     }
 
     @Test
@@ -104,7 +104,7 @@ public class TestVF2JSExpressions extends TestGoogExpressions
                 "public class B {public function b(o:Object):int { var a:B; a = o as B; }}",
                 IFunctionNode.class, WRAP_LEVEL_PACKAGE, true);
         asBlockWalker.visitFunction(node);
-        assertOut("/**\n * @export\n * @param {Object} o\n * @return {number}\n */\nfoo.bar.B.prototype.b
= function(o) {\n  var /** @type {foo.bar.B} */ a;\n  a = org.apache.flex.utils.Language._as(o,
foo.bar.B);\n}");
+        assertOut("/**\n * @export\n * @param {Object} o\n * @return {number}\n */\nfoo.bar.B.prototype.b
= function(o) {\n  var /** @type {foo.bar.B} */ a;\n  a = org.apache.flex.utils.Language.as(o,
foo.bar.B);\n}");
     }
 
     @Override
@@ -113,7 +113,7 @@ public class TestVF2JSExpressions extends TestGoogExpressions
     {
         IBinaryOperatorNode node = getBinaryNode("a is b");
         asBlockWalker.visitBinaryOperator(node);
-        assertOut("org.apache.flex.utils.Language._is(a, b)");
+        assertOut("org.apache.flex.utils.Language.is(a, b)");
     }
 
     protected IBackend createBackend()


Mime
View raw message