mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
163 B
Plaintext
7 lines
163 B
Plaintext
error: Expected ',', got 'numeric literal'
|
|
--> $DIR/tests/test262-parser/fail/3425ca087ec1adb1.js:1:19
|
|
|
|
|
1 | var {x: y = yield 3} = z;
|
|
| ^
|
|
|