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

7 lines
187 B
Plaintext
Raw Normal View History

x 'import', and 'export' cannot be used outside of module code
2022-03-20 09:25:35 +03:00
,-[$DIR/tests/test262-parser/fail/a20584c5a6110526.js:1:1]
1 | import { class, var } from 'foo'
: ^^^^^^
`----