[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 15:52:50 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21300
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11906 "dtoh: Don't use enum
namespaces as types" fixing this issue:
- 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