Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: autotest/test_abprewrite_module.js.expected

Issue 5417063522762752: Issue 427 - Desugar arrow functions to normal or bound functions (Closed)
Patch Set: I just decided to ignore eval and Function for now, I can open a new bug if we really want to ban t… Created May 18, 2014, 10:55 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest/test_abprewrite.js.expected ('k') | scripts/abprewrite.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autotest/test_abprewrite_module.js.expected
===================================================================
--- a/autotest/test_abprewrite_module.js.expected
+++ b/autotest/test_abprewrite_module.js.expected
@@ -118,10 +118,29 @@ require.scopes["abprewrite_source"] = (f
{
var _generatorResult10 = [];
for (var i = 0; i < 10; i++)
{
_generatorResult10.push(i);
}
return _generatorResult10;
};
+ var x = function(y)
+ {
+ return y + 1;
+ };
+ x = function(y)
+ {
+ return y + 1;
+ };
+ x = function(a, b)
+ {
+ return this[a] + b;
+ }.bind(this);
+ x = function(a, b)
+ {
+ return function()
+ {
+ return 1;
+ };
+ }.bind(this);
return exports;
})();
« no previous file with comments | « autotest/test_abprewrite.js.expected ('k') | scripts/abprewrite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld