mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
0e1991f62d
- Add a test case for #392 - Add tests for #389 - Fix #388 - Fix #387 - Add tests for #392 swc_ecma_parser: - Make non-last rest paramters in object pattern error - `...` must be followed by an identifier
7 lines
143 B
Plaintext
7 lines
143 B
Plaintext
error: assignment property is invalid syntax
|
|
--> $DIR/tests/jsx/errors/issue-387-4/input.js:1:10
|
|
|
|
|
1 | var a = {b = 1};
|
|
| ^^^^^
|
|
|