mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
|
|
x Expected ident
|
|
,-[$DIR/tests/test262-parser/fail/e777c6584c047ff6.js:1:1]
|
|
1 | (function*() {
|
|
2 | function(x = yield 3) {}
|
|
: ^
|
|
3 | })
|
|
`----
|