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

7 lines
182 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/02a5ebb2378de234.js:1:1]
1 | import * as enum from 'foo'
: ^^^^^^
`----