[Issue 20410] ReplaceTypeUnless replaces enums with their basetype
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 6 09:20:17 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20410
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11235 "Fix 20410 - ReplaceTypeUnless replaces enums
with their basetype" was merged into master:
- 98259447cd40f28b539574dacd822a11aeb8167c by Paul Backus:
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