swc/crates/swc_ecma_parser/tests/test262-error-references/fail/f0ff9ff5dab859aa.js.stderr
2022-04-07 03:43:10 +00:00

13 lines
336 B
Plaintext

x Expected '{', got '<eof>'
,-[$DIR/tests/test262-parser/fail/f0ff9ff5dab859aa.js:1:1]
1 | function f(a, ...b, c)
: ^
`----
x A rest parameter must be last in a parameter list
,-[$DIR/tests/test262-parser/fail/f0ff9ff5dab859aa.js:1:1]
1 | function f(a, ...b, c)
: ^^^^
`----