mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
4a30fb3436
- Make rls happy. - Some minor parser error improvements. - Add reference files for ecmascript parser errors. - Improve error message of import/export used outside of a module
13 lines
278 B
Plaintext
13 lines
278 B
Plaintext
error: Expected ';', '}' or <eof>
|
|
--> $DIR/tests/test262-parser/fail/c473ffb7c354496e.js:1:7
|
|
|
|
|
1 | { set 1 }
|
|
| ^
|
|
|
|
|
note: This is the expression part of an expression statement
|
|
--> $DIR/tests/test262-parser/fail/c473ffb7c354496e.js:1:3
|
|
|
|
|
1 | { set 1 }
|
|
| ^^^
|
|
|