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 22515 - Aggregate definition with qualifiers has inconsistencies between structs and classes #13312

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

BorisCarvajal
Copy link
Member

@BorisCarvajal BorisCarvajal commented Nov 17, 2021

This broken behavior started in #783, then Walter fixed it in #6958 but unfortunately only for structs. Here I'm doing it for classes and interfaces.

There is a small change in src/dmd/typinf.d because what is said in the comment is not happening for interfaces.

Edit: Doing the change to interfaces exposed some issues in their TypeInfo generation, so I'm fixing only structs for now.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @BorisCarvajal!

Bugzilla references

Auto-close Bugzilla Severity Description
22515 normal Aggregate definition with qualifiers has inconsistencies between structs and classes

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

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