flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [72/83] [abbrv] git commit: [flex-falcon] [refs/heads/develop] - make Foo a real entity
Date Fri, 25 Sep 2015 04:49:41 GMT
make Foo a real entity


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

Branch: refs/heads/develop
Commit: 05a83199f4421f1d0c0ab3c3f673a5c46098dc5b
Parents: 6e4ac9d
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 22 10:34:32 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 22 10:35:18 2015 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/goog/TestGoogStatements.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/05a83199/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogStatements.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogStatements.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogStatements.java
index 4cf86e7..cf550da 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogStatements.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogStatements.java
@@ -75,7 +75,7 @@ public class TestGoogStatements extends TestStatements
     public void testVarDeclaration_withTypeAssignedValueComplex()
     {
         IVariableNode node = (IVariableNode) getNode(
-                "var a:Foo = new Foo(42, 'goo');", IVariableNode.class);
+                "class A { public function b():void { var a:Foo = new Foo(42, 'goo');}} class
Foo {}", IVariableNode.class, WRAP_LEVEL_PACKAGE);
         asBlockWalker.visitVariable(node);
         assertOut("var /** @type {Foo} */ a = new Foo(42, 'goo')");
     }


Mime
View raw message