swc/crates/swc_ecma_parser/tests/test262-error-references/fail/4e880c0482d146e0.js.stderr

7 lines
174 B
Plaintext
Raw Normal View History

x 'import', and 'export' cannot be used outside of module code
,-[$DIR/tests/test262-parser/fail/4e880c0482d146e0.js:2:1]
2 | import foo from bar
: ^^^^^^
`----