mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 16:13:34 +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
140 B
Plaintext
7 lines
140 B
Plaintext
error: Rest element must be final element
|
|
--> $DIR/tests/jsx/errors/issue-387-2/input.js:1:6
|
|
|
|
|
1 | var {...c, ...d} = {};
|
|
| ^^^^
|
|
|