v8/test/message/arrow-invalid-rest.out
adamk 9c00c88902 Remove 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.

Review-Url: https://codereview.chromium.org/2279363002
Cr-Commit-Position: refs/heads/master@{#39030}
2016-08-31 01:24:19 +00:00

5 lines
123 B
Plaintext

*%(basename)s:7: SyntaxError: Unexpected token =
var f = (...x = 10) => x;
^
SyntaxError: Unexpected token =