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 Issue 22421 - static foreach introduces semantic difference between indexing and iteration variable #13252

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

BorisCarvajal
Copy link
Member

This early constant folding of the input destroys enum references.

@BorisCarvajal BorisCarvajal requested a review from Geod24 as a code owner November 1, 2021 03:58
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @BorisCarvajal!

Bugzilla references

Auto-close Bugzilla Severity Description
22421 normal static foreach introduces semantic difference between indexing and iteration variable

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#13252"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants