flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschma...@apache.org
Subject svn commit: r1435079 - in /flex/falcon/trunk: compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/ compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/
Date Fri, 18 Jan 2013 10:53:20 GMT
Author: mschmalle
Date: Fri Jan 18 10:53:20 2013
New Revision: 1435079

URL: http://svn.apache.org/viewvc?rev=1435079&view=rev
Log:
Flex:FalconJx
- fixed bug with function block not being parsed in goog

Modified:
    flex/falcon/trunk/compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/TestGoogFile.java
    flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ASEmitter.java
    flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/JSGoogEmitter.java

Modified: flex/falcon/trunk/compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/TestGoogFile.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/TestGoogFile.java?rev=1435079&r1=1435078&r2=1435079&view=diff
==============================================================================
--- flex/falcon/trunk/compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/TestGoogFile.java
(original)
+++ flex/falcon/trunk/compiler.jx.tests/src/org/apache/flex/compiler/internal/js/codegen/goog/TestGoogFile.java
Fri Jan 18 10:53:20 2013
@@ -23,7 +23,6 @@ import org.apache.flex.compiler.clients.
 import org.apache.flex.compiler.internal.as.codegen.TestWalkerBase;
 import org.apache.flex.compiler.internal.js.driver.goog.GoogBackend;
 import org.apache.flex.compiler.tree.as.IFileNode;
-import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -41,7 +40,6 @@ public class TestGoogFile extends TestWa
         assertOut(getCodeFromFile("output", true));
     }
 
-	@Ignore
     @Test
     public void testFile_getset()
     {

Modified: flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ASEmitter.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ASEmitter.java?rev=1435079&r1=1435078&r2=1435079&view=diff
==============================================================================
--- flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ASEmitter.java
(original)
+++ flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/as/codegen/ASEmitter.java
Fri Jan 18 10:53:20 2013
@@ -115,7 +115,7 @@ public class ASEmitter implements IASEmi
     public static final String SQUAREBRACKETS_CLOSE = "]";
     public static final String SQUAREBRACKETS_OPEN = "[";
 
-    List<ICompilerProblem> problems;
+    protected List<ICompilerProblem> problems;
 
     // (mschmalle) think about how this should be implemented, we can add our
     // own problems to this, they don't just have to be parse problems

Modified: flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/JSGoogEmitter.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/JSGoogEmitter.java?rev=1435079&r1=1435078&r2=1435079&view=diff
==============================================================================
--- flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/JSGoogEmitter.java
(original)
+++ flex/falcon/trunk/compiler.jx/src/org/apache/flex/compiler/internal/js/codegen/goog/JSGoogEmitter.java
Fri Jan 18 10:53:20 2013
@@ -603,7 +603,10 @@ public class JSGoogEmitter extends JSEmi
             configurable: true}
          );
         */
-    	
+    
+        FunctionNode fn = (FunctionNode) node;
+        fn.parseFunctionBody(problems);
+        
         // head
         write(IASLanguageConstants.Object);
         write(PERIOD);



Mime
View raw message