v8/test/message/formal-parameters-trailing-comma.out
jwolfe ea96fdec68 Enable --harmony-trailing-commas
Also updated some tests due to the change. The general pattern is when a
trailing comma is expected to cause a SyntaxError, an additional comma was
added.

BUG=v8:5051
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2638513002
Cr-Commit-Position: refs/heads/master@{#42826}
2017-01-31 23:30:57 +00:00

5 lines
141 B
Plaintext

*%(basename)s:5: SyntaxError: Unexpected token ,
function foo(b, a, a,,) { return a }
^
SyntaxError: Unexpected token ,