[Issue 21300] C++ header generation produce nonsense code on enum with enum as parent
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 25 18:38:32 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21300
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11906 "dtoh: Don't use enum namespaces as types" was
merged into master:
- dccaf221697979c011f0f0520f8687a970c1f5ff by MoonlightSentinel:
Fix 21300 - Don't cast to enum emitted as namespace (dtoh)
The enum members are declared as variables of the base type, so the cast
is redundant anyway.
https://github.com/dlang/dmd/pull/11906
--
More information about the Digitalmars-d-bugs
mailing list