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