swc/crates/swc_ecma_parser/tests/test262-error-references/fail/1aefe47e20eb91fa.module.js.swc-stderr
2022-11-29 09:47:56 +00:00

13 lines
360 B
Plaintext

x top level await requires target to es2017 or higher and topLevelAwait:true for ecmascript
,-[$DIR/tests/test262-parser/fail/1aefe47e20eb91fa.module.js:1:1]
1 | await
: ^^^^^
`----
x `await` cannot be used as an identifier in an async context
,-[$DIR/tests/test262-parser/fail/1aefe47e20eb91fa.module.js:1:1]
1 | await
: ^^^^^
`----