Disallow nested destructuring assignment with rest properties
gsathya opened this issue · comments
Input Code
( {...{}} = {} )
Babylon/Babel Configuration
stage3 preset
Expected Behavior
SyntaxError: ...
must be followed by an assignable reference in assignment contexts
Current Behavior
No error
Your Environment
Isn't this #661?
Isn't this #661?
No, that's for binding pattern. This is for assignment pattern.
Is this still for grabs? I would like to work on it, but aint sure if noone has started yet.
Go for it 👍
You might also want to look for a fix for #661
Yeah, if I do this one I'll definitely look into other one, just don't want to block the other one yet, cause Im just diving into babylon for the first time :)
If you need any help, you can join our slack: https://slack.babeljs.io/
Can be closed, PR already merged in.