swc/ecmascript/parser/tests/test262-error-references/fail/6a7197b11e9847ed.js.stderr
강동윤 4a30fb3436
Testing framework (#31)
- 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
2018-02-27 13:21:57 +09:00

13 lines
307 B
Plaintext

error: Expected ';', '}' or <eof>
--> $DIR/tests/test262-parser/fail/6a7197b11e9847ed.js:1:12
|
1 | if (1) let x = 10;
| ^
|
note: This is the expression part of an expression statement
--> $DIR/tests/test262-parser/fail/6a7197b11e9847ed.js:1:8
|
1 | if (1) let x = 10;
| ^^^