swc/ecmascript/parser/tests/test262-error-references/fail/302a0dfffc3edf37.js.stderr
강동윤 4a30fb3436
Testing framework ()
- 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

7 lines
177 B
Plaintext

error: 'import', and 'export' cannot be used outside of module code
--> $DIR/tests/test262-parser/fail/302a0dfffc3edf37.js:1:1
|
1 | import * as class from 'foo'
| ^^^^^^