ea96fdec68
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}
5 lines
141 B
Plaintext
5 lines
141 B
Plaintext
*%(basename)s:5: SyntaxError: Unexpected token ,
|
|
function foo(b, a, a,,) { return a }
|
|
^
|
|
SyntaxError: Unexpected token ,
|