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

7 lines
178 B
Plaintext

error: 'import', and 'export' cannot be used outside of module code
--> $DIR/tests/test262-parser/fail/e462669423ea79e4.js:1:8
|
1 | if (1) import "acorn";
| ^^^^^^