swc/crates/swc_ecma_parser/tests/test262-error-references/fail/02a5ebb2378de234.js.stderr
2021-11-10 19:00:54 +09:00

7 lines
176 B
Plaintext

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