mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
146 B
Plaintext
7 lines
146 B
Plaintext
error: Expected 'from', got 'b'
|
|
--> $DIR/tests/test262-parser/fail/5fe7ff5c5cb5f438.module.js:1:11
|
|
|
|
|
1 | import a, b from 'a'
|
|
| ^
|
|
|