[Issue 20410] ReplaceTypeUnless replaces enums with their basetype
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 6 01:31:37 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20410
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus updated dlang/dmd pull request #11235 "Fix 20410 - ReplaceTypeUnless
replaces enums with their basetype" fixing this issue:
- Fix issue 20410 - ReplaceTypeUnless replaces enums with their basetype
When matching an enum against a type specialization, a match obtained
using the enum's base type is now correctly considered a match by
implicit conversion rather than an exact match.
https://github.com/dlang/dmd/pull/11235
--
More information about the Digitalmars-d-bugs
mailing list