swc/ecmascript/parser/tests/test262-error-references/fail/e94cf04f4f6916cd.js.stderr

7 lines
169 B
Plaintext
Raw Normal View History

error: 'import', and 'export' cannot be used outside of module code
--> $DIR/tests/test262-parser/fail/e94cf04f4f6916cd.js:1:1
|
1 | export { if as foo }
| ^^^^^^