swc/ecmascript/parser/tests/test262-error-references/fail/58707e130fe451a8.js.stderr
강동윤 e6191447fe
Typescript 4.0 (#982)
swc_ecma_parser:
 - Add support for optional tuple element (#978)
2020-08-21 19:31:46 +09:00

19 lines
442 B
Plaintext

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 };
| ^^^^^^^^^^^^
error: Expected ], got ,
--> $DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:10
|
1 | void { [1, 2]: 3 };
| ^