DescriptionDo not create unresolved variables when parsing arrow functions lazily
Arrow function parameter lists are parsed as expressions. When an identifier
is found a VariableProxy is created and added to the list of unresolved
variables for the scope. When parsing a function lazily, the scope has been
already resolved, so with this patch only the VariableProxy is created,
without adding it as an unresolved variable in the scope.
BUG=v8:3501
LOG=Y
Committed: https://crrev.com/91b87e7a2884b3322f48dd9cf532eb0e8b462029
Cr-Commit-Position: refs/heads/master@{#26328}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (3 generated)
|