v8/test/message/rest-param-object-setter-strict.out
caitpotter88 e160e6debb [parser] report SyntaxError if rest parameter used in Setter MethodDefinition
BUG=v8:4107, v8:2159
LOG=N
R=arv@chromium.org

Review URL: https://codereview.chromium.org/1141223002

Cr-Commit-Position: refs/heads/master@{#28454}
2015-05-18 15:52:45 +00:00

5 lines
210 B
Plaintext

*%(basename)s:11: SyntaxError: Setter function argument must not be a rest parameter
set bad(...args) { _bad = args[0]; }
^^^^^^^^^
SyntaxError: Setter function argument must not be a rest parameter