[Issue 10560] Enum typed as int with value equal to 0 or 1 prefer bool over int overload

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 26 08:38:10 UTC 2020


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
See detailed explanation in https://issues.dlang.org/show_bug.cgi?id=19399

This is not a bug, it is a misunderstanding of how match levels and partial
ordering works.

--


More information about the Digitalmars-d-bugs mailing list