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

Support shorthand list assignment #50

Merged
merged 2 commits into from
Oct 12, 2018
Merged

Conversation

sirbrillig
Copy link
Owner

This adds support for shorthand list assignment, also known as shorthand array destructuring assignment.

That is, this will now count as assignment of both $a and $b.

[$a, $b] = [1, 2];

Fixes #48

@sirbrillig sirbrillig force-pushed the add/destructuring-assignment branch from f44a68c to 48c16a5 Compare September 12, 2018 15:53
@sirbrillig sirbrillig force-pushed the add/destructuring-assignment branch from 48c16a5 to 8f2518a Compare October 12, 2018 20:40
@sirbrillig sirbrillig merged commit 25823a9 into master Oct 12, 2018
@sirbrillig sirbrillig deleted the add/destructuring-assignment branch October 12, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant