DescriptionEnsure arrow functions can close over lexically-scoped variables
ParseArrowFunctionLiteral was erroneously checking AllowsLazyCompilation
rather than AllowsLazyParsing when deciding whether to parse lazily.
This meant that lexically-scoped variables that had no other referents
wouldn't get closed over properly.
BUG=chromium:580934, v8:4255
LOG=y
Committed: https://crrev.com/953bb416a3675a4bd899e01625b8b584480e488a
Cr-Commit-Position: refs/heads/master@{#33530}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|