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

7 lines
186 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/baddfc428e73b8b8.js:1:1]
1 | import { a as enum } from 'foo'
: ^^^^^^
`----