swc/ecmascript/parser/tests/test262-error-references/fail/043ab1c3982db3cd.js.stderr
강동윤 993b77b325
Improve error messages (#980)
swc_ecma_parser:
 - Improve error messages
2020-08-21 14:57:16 +09:00

7 lines
164 B
Plaintext

error: A rest parameter cannot have an initializer
--> $DIR/tests/test262-parser/fail/043ab1c3982db3cd.js:1:15
|
1 | function x(...a = 1){}
| ^