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

8 lines
378 B
Plaintext
Raw Normal View History

x Unexpected token `yield`. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, regexp,
| ` for template literal, (, or an identifier
2022-03-20 09:25:35 +03:00
,-[$DIR/tests/test262-parser/fail/6aeff33ceda72475.js:1:1]
1 | class A extends yield B { }
: ^^^^^
`----