swc/ecmascript/parser/tests/test262-error-references/fail/a7be138dfd29025e.js.stderr
강동윤 a1d33d023a
Improve ux using swc as a rust library (#893)
swc_ecma_parser:
 - Improve parser's error reporting story
 - Replace `Session`, `Handler`, `Emitter` with Parser.take_errors()
 - Expose `Error`
 - Remove useless lifetime parameters
2020-07-25 20:26:04 +09:00

19 lines
467 B
Plaintext

error: Expected ';', '}' or <eof>
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:23
|
2 | { *[yield iter]() {} }
| ^
|
note: This is the expression part of an expression statement
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:7
|
2 | { *[yield iter]() {} }
| ^^^^^^^^^^^^^^^
error: TS1109
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:7
|
2 | { *[yield iter]() {} }
| ^