Skip to content

Conversation

@rhendric
Copy link
Collaborator

Alternative to #994, closes #992.

@rhendric
Copy link
Collaborator Author

@vendethiel, review?

@vendethiel
Copy link
Contributor

Seems to work in the cases I tested. I still would like if you added tests like:

nested (for let [{a}] in b)
with an alias (for let {k: {v: a}} in b)

@rhendric rhendric force-pushed the fix/LiveScript-992 branch 2 times, most recently from 4b6a5f5 to f9877c2 Compare January 11, 2018 17:42
Hat tip to vendethiel for reporting and writing tests.
@rhendric
Copy link
Collaborator Author

Is this better? Any more cases you think are relevant?

@vendethiel
Copy link
Contributor

LGTM.

@rhendric rhendric merged commit 0e420e0 into gkz:master Jan 18, 2018
@rhendric rhendric deleted the fix/LiveScript-992 branch May 4, 2023 20:18
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.

When using for+let, the loop variable isn't available in the when clause

2 participants