DescriptionTreat yield expressions as an AssignmentPattern error
They were already treated as a BindingPattern error; this patch simply
replaces that call with one marking them as both a binding and assignment
error, and adds parsing tests for both cases.
BUG=v8:4707
LOG=n
Committed: https://crrev.com/b874e3d521e11baa77c36014a999ed7c33ec9a41
Cr-Commit-Position: refs/heads/master@{#33528}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Added test #
Messages
Total messages: 12 (4 generated)
|