swc/crates/swc_ecma_parser/tests/test262-error-references/fail/41bb6cfb5f18770c.js.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/41bb6cfb5f18770c.js:1:1]
1 | import { a as class } from 'foo'
: ^^^^^^
`----