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

Assignment inside iterator scope #347

Open
ef4 opened this issue May 27, 2015 · 1 comment
Open

Assignment inside iterator scope #347

ef4 opened this issue May 27, 2015 · 1 comment

Comments

@ef4
Copy link
Contributor

ef4 commented May 27, 2015

This:

for x in myList
  x ?= 1

throws Error: the variable "x" can't be assigned with ?= because it has not been defined.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ef4
Copy link
Contributor Author

ef4 commented May 27, 2015

#299 looks like the same bug, although this example is broader -- no destructuring is needed to trigger the bug.

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

No branches or pull requests

1 participant