mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
13 lines
242 B
Plaintext
13 lines
242 B
Plaintext
error: Expected a semicolon
|
|
--> $DIR/tests/test262-parser/fail/d6b39890287ec55d.js:1:6
|
|
|
|
|
1 | var a[0]=0;
|
|
| ^
|
|
|
|
error: Cannot assign to this
|
|
--> $DIR/tests/test262-parser/fail/d6b39890287ec55d.js:1:7
|
|
|
|
|
1 | var a[0]=0;
|
|
| ^
|
|
|