mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
7 lines
167 B
Plaintext
7 lines
167 B
Plaintext
error: A rest parameter must be last in a parameter list
|
|
--> $DIR/tests/test262-parser/fail/338848861369f3b7.js:1:11
|
|
|
|
|
1 | (function(...a, b){})
|
|
| ^^^
|
|
|