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 21039 - alias this returns 'null' for ref types when put into array initializer #13277

Merged
merged 1 commit into from Nov 8, 2021

Conversation

BorisCarvajal
Copy link
Member

Fix typeMerge() to use implicit conversion instead of explicit cast on classes to allow going through alias this.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @BorisCarvajal!

Bugzilla references

Auto-close Bugzilla Severity Description
21039 regression `alias this` returns 'null' for ref types when put into array initializer

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 "stable + dmd#13277"

@dlang-bot dlang-bot merged commit 904fde4 into dlang:stable Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants