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
165 B
Plaintext
7 lines
165 B
Plaintext
error: `...` must be followed by an identifier in declaration contexts
|
|
--> $DIR/tests/jsx/errors/issue-387-3/input.js:1:6
|
|
|
|
|
1 | var {...{}} = {};
|
|
| ^^^^^
|
|
|