flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [7/7] git commit: [flex-falcon] [refs/heads/develop] - needs self
Date Tue, 23 Dec 2014 07:40:53 GMT
needs self


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

Branch: refs/heads/develop
Commit: d1c44a4dd85485a5780b464fa3e462d9b913b41d
Parents: 8144acb
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 22 23:40:27 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 22 23:40:27 2014 -0800

----------------------------------------------------------------------
 .../compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d1c44a4d/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
index 47a632e..2369ecb 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
@@ -424,7 +424,7 @@ public class TestFlexJSStatements extends TestGoogStatements
                         + "foo: for each(var i:int in obj) break foo;",
                 IFileNode.class);
         asBlockWalker.visitFile(node);
-        assertOut("/**\n * FalconTest_A\n *\n * @fileoverview\n *\n * @suppress {checkTypes}\n
*/\n\ngoog.provide('FalconTest_A');\n\n\n\n/**\n * @constructor\n */\nFalconTest_A = function()
{\n};\n\n\nFalconTest_A.prototype.falconTest_a = function() {\n  try {\n    a;\n  } catch
(e) {\n    if (a) {\n      if (b) {\n        if (c)\n          b;\n        else if (f)\n 
        a;\n        else\n          e;\n      }\n    }\n  } finally {\n  }\n  if (d)\n   
for (var /** @type {number} */ i = 0; i < len; i++)\n      break;\n  if (a) {\n    with
(ab) {\n      c();\n    }\n    do {\n      a++;\n      do\n        a++;\n      while (a >
b);\n    } while (c > d);\n  }\n  if (b) {\n    try {\n      a;\n      throw new Error('foo');\n
   } catch (e) {\n      switch (i) {\n        case 1:\n          break;\n        default:\n
         return;\n      }\n    } finally {\n      d;\n      var /** @type {Object} */ a =
function(foo, bar) {\n        bar = typeof bar !== 'undefined' ? bar : 'goo';\n
         return -1;\n      };\n      eee.dd;\n      eee.dd;\n      eee.dd;\n      eee.dd;\n
   }\n  }\n  foo : for (var foreachiter0 in obj) \n  {\n  var i = obj[foreachiter0];\n  \n
   break foo;}\n  ;\n};\n\n\n/**\n * Metadata\n *\n * @type {Object.<string, Array.<Object>>}\n
*/\nFalconTest_A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'FalconTest_A', qName: 'FalconTest_A'}]
};\n");
+        assertOut("/**\n * FalconTest_A\n *\n * @fileoverview\n *\n * @suppress {checkTypes}\n
*/\n\ngoog.provide('FalconTest_A');\n\n\n\n/**\n * @constructor\n */\nFalconTest_A = function()
{\n};\n\n\nFalconTest_A.prototype.falconTest_a = function() {\n  var self = this;\n  try {\n
   a;\n  } catch (e) {\n    if (a) {\n      if (b) {\n        if (c)\n          b;\n     
  else if (f)\n          a;\n        else\n          e;\n      }\n    }\n  } finally {\n 
}\n  if (d)\n    for (var /** @type {number} */ i = 0; i < len; i++)\n      break;\n  if
(a) {\n    with (ab) {\n      c();\n    }\n    do {\n      a++;\n      do\n        a++;\n
     while (a > b);\n    } while (c > d);\n  }\n  if (b) {\n    try {\n      a;\n  
   throw new Error('foo');\n    } catch (e) {\n      switch (i) {\n        case 1:\n     
    break;\n        default:\n          return;\n      }\n    } finally {\n      d;\n    
 var /** @type {Object} */ a = function(foo, bar) {\n        bar = typeof bar !== 'undefin
 ed' ? bar : 'goo';\n        return -1;\n      };\n      eee.dd;\n      eee.dd;\n      eee.dd;\n
     eee.dd;\n    }\n  }\n  foo : for (var foreachiter0 in obj) \n  {\n  var i = obj[foreachiter0];\n
 \n    break foo;}\n  ;\n};\n\n\n/**\n * Metadata\n *\n * @type {Object.<string, Array.<Object>>}\n
*/\nFalconTest_A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'FalconTest_A', qName: 'FalconTest_A'}]
};\n");
     }
 
     @Override


Mime
View raw message