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

Fix regression for mapIt #8567

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Fix regression for mapIt #8567

merged 1 commit into from
Aug 8, 2018

Conversation

LemonBoy
Copy link
Contributor

@LemonBoy LemonBoy commented Aug 8, 2018

Don't try to be too smart and limit the use of evalOnce where strictly
needed as not every value can be assigned with a let.

Fixes #8566

Don't try to be too smart and limit the use of `evalOnce` where strictly
needed as not every value can be assigned with a `let`.

Fixes nim-lang#8566
@Araq Araq merged commit 32b6209 into nim-lang:devel Aug 8, 2018
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Aug 8, 2018
Don't try to be too smart and limit the use of `evalOnce` where strictly
needed as not every value can be assigned with a `let`.

Fixes nim-lang#8566
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Aug 8, 2018
Don't try to be too smart and limit the use of `evalOnce` where strictly
needed as not every value can be assigned with a `let`.

Fixes nim-lang#8566
@timotheecour
Copy link
Member

related: #8577 mapIt still can't be used with openArray even after #8543: fails during bootstrap #8577

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.

3 participants