DescriptionRemove duplicated code from comma-separated Expression parsing
This removes two bits of duplication:
- Parsing of each AssignmentExpression, which previously was called
first outside the loop and then inside the loop.
- Parsing of arrow rest parameters, which previously was handled
separately for the one-arg and N-arg cases.
The only change in behavior is in a few error messages.
Committed: https://crrev.com/9c00c889025f1a69c4f2f9fce793aff377b35b78
Cr-Commit-Position: refs/heads/master@{#39030}
Patch Set 1 #Patch Set 2 : Remove unused message #
Total comments: 8
Messages
Total messages: 24 (13 generated)
|