v8/test/message/fail/arrow-param-after-rest.out
Toon Verwaest 701136f9ae [parser] Move rest parameter handling out of ExpressionCoverGrammar
This allows the main ExpressionCoverGrammar parsing to be a little tighter.

Change-Id: I45e3d1a9a647a98ffe1ad9969cb1ffbe47f67f1c
Reviewed-on: https://chromium-review.googlesource.com/c/1326468
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57362}
2018-11-08 16:51:53 +00:00

5 lines
155 B
Plaintext

*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
(...x, y) => 10
^
SyntaxError: Rest parameter must be last formal parameter