Skip to content
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

[CS2] object spread destructuring bug #4651

Closed
helixbass opened this issue Aug 17, 2017 · 3 comments
Closed

[CS2] object spread destructuring bug #4651

helixbass opened this issue Aug 17, 2017 · 3 comments
Labels
Milestone

Comments

@helixbass
Copy link
Collaborator

This throws a compiler error:

{person: {mobile}, attrs...} = @props

Removing the @ or the attrs... spread param or the person: {mobile} destructured param all compile ok

@zdenko @GeoffreyBooth

@GeoffreyBooth
Copy link
Collaborator

@zdenko do you mind looking into this?

@zdenko
Copy link
Collaborator

zdenko commented Aug 17, 2017

@GeoffreyBooth I'm checking this.

zdenko pushed a commit to GeoffreyBooth/coffeescript that referenced this issue Aug 18, 2017
connec added a commit that referenced this issue Sep 1, 2017
[CS2] Fix #4651: object spread destructuring bug
@connec
Copy link
Collaborator

connec commented Sep 1, 2017

Fixed by #4652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants