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

allow nnkStmtList in input #8

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Conversation

Vindaar
Copy link
Contributor

@Vindaar Vindaar commented Nov 15, 2018

For some reason sometimes when I use forZip the a in b expressions are already turned into StmtList containing a call to contains.

Unfortunately I don't know exactly under what circumstances that happens, which is why I didn't include a test.

In some cases calls like `forZip i in x, j in y` will come up as
StmtLists, containing a call to `contains`.
@Vindaar
Copy link
Contributor Author

Vindaar commented Jan 9, 2019

Friendly ping, @mratsim

@mratsim
Copy link
Owner

mratsim commented Apr 25, 2019

I'm pretty sure it's when you use it in templates or generic proc: nim-lang/Nim#8677

@mratsim mratsim merged commit 99d8011 into mratsim:master Apr 26, 2019
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.

2 participants