mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +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){}
|
|
| ^
|
|
|