-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experimentalObjectRestSpread should allow AssignmentExpression #167
Comments
Note that AssignmentExpression is only allowed in spread position. Object rest, like array and parameter list rest, still only allows BindingIdentifier. |
Thanks, I'll take a look. |
Working on this. |
Fix: Allow AssignmentExpression in object spread (fixes #167)
Hi, Here is what happens to me:
test.js const a = { foo: {} };
const b = {
...a.foo,
a
}; .eslintrc
|
ok I'll create it on eslint project, this seems to be related to no-dupe-keys |
I have first created the issue at eslint/eslint#3030
The text was updated successfully, but these errors were encountered: