mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
7 lines
164 B
Plaintext
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){}
|
|
| ^
|
|
|