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 21878 - "ref" lost when indexing array in CTFE #12487

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

BorisCarvajal
Copy link
Member

Deleting part of old pull #3430 that I think added && hasPointers() because it was using arrays as test cases.
But the type painting should be for any case.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @BorisCarvajal!

Bugzilla references

Auto-close Bugzilla Severity Description
21878 normal "ref" lost when indexing array in CTFE

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#12487"

Copy link
Member

@Geod24 Geod24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it when deleting code removes bug

@dlang-bot dlang-bot merged commit 7c52f52 into dlang:master Apr 30, 2021
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