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

13 lines
340 B
Plaintext
Raw Normal View History

x Expected ',', got '=>'
2022-03-20 09:25:35 +03:00
,-[$DIR/tests/test262-parser/fail/ca3dd7ea0b4626dd.js:1:1]
1 | console.log(typeof () => {});
: ^^
`----
x An arrow function is not allowed here
2022-03-20 09:25:35 +03:00
,-[$DIR/tests/test262-parser/fail/ca3dd7ea0b4626dd.js:1:1]
1 | console.log(typeof () => {});
: ^^
`----