Chromium Code Reviews
DescriptionAlways lazy compile arrow functions
This causes the scope of default parameters to be correct, where otherwise
we'd get it wrong, as expressions in default parameters would be evaluated
in the scope containing the arrow function.
This is something of a hack. The right way to fix it would likely be to
do something like pattern-rewriter, but for scopes.
BUG=v8:4395
LOG=n
Patch Set 1 : Add test and comment #
Total comments: 2
Messages
Total messages: 9 (2 generated)
|
||||||||||||||||||||||||||||