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 23532 - Missing type properties for complex special enum types #14663

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Dec 1, 2022

Fix property lookup for special enums to always go through memtype.dotExp() instead of getProperty(). It makes no sense to call getMaxMinValue(EnumDeclaration) on any special enum type, whether it have an integral base or not.

Add missing properties for the special creal types to the druntime library.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
23532 regression Missing type properties for complex special enum types

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

@RazvanN7 RazvanN7 merged commit b5de787 into dlang:stable Dec 2, 2022
@ibuclaw ibuclaw deleted the issue23532 branch December 2, 2022 10:28
@ibuclaw ibuclaw mentioned this pull request Dec 15, 2022
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