[Issue 24656] enums with explicit EnumBaseType incorrectly matching multiple overloads.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 9 22:56:38 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24656

--- Comment #5 from dave287091 at gmail.com ---
(In reply to basile-z from comment #4)
> Also "to which point enum members are strongly-typed ?" is the underlying
> question. You expect some kind of VRP (or maybe constant folding) but that
> is not the case.

I expect that specifying a base type means that enum is converted to that type
before any other implicit conversion.

--


More information about the Digitalmars-d-bugs mailing list