swc/ecmascript/parser/tests/jsx/errors/issue-387-2/input.js.stderr
강동윤 0e1991f62d
Fix bugs (#394)
- 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
2019-06-03 21:54:09 +09:00

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} = {};
| ^^^^