swc/ecmascript/parser/tests/test262-error-references/fail/58707e130fe451a8.js.stderr
강동윤 d074063867
Parser: Error recovery (#449)
Implement some error recovery logic to parser
2019-11-17 18:36:47 +09:00

19 lines
459 B
Plaintext

error: Expected RBracket, got Some(Comma)
--> $DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:10
|
1 | void { [1, 2]: 3 };
| ^
error: Expected ';', '}' or <eof>
--> $DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:13
|
1 | void { [1, 2]: 3 };
| ^
|
note: This is the expression part of an expression statement
--> $DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:1
|
1 | void { [1, 2]: 3 };
| ^^^^^^^^^^^^