mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
7 lines
177 B
Plaintext
7 lines
177 B
Plaintext
error: Unexpected token `.`. Expected yield, an identifier, [ or {
|
|
--> $DIR/tests/test262-parser/fail/3f9ce9123e9ea7cb.js:1:14
|
|
|
|
|
1 | function a([a.b]) {}
|
|
| ^
|
|
|