Thread overview
[Issue 20539] std.conv.to: internal overload conflict for enums with base types that have a catch-all opEquals overload (?)
Jan 27, 2020
berni44
Jan 28, 2020
Dlang Bot
Jan 17
Dlang Bot
Jan 19
Dlang Bot
January 27, 2020
https://issues.dlang.org/show_bug.cgi?id=20539

berni44 <bugzilla@d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@d-ecke.de

--- Comment #1 from berni44 <bugzilla@d-ecke.de> ---
(In reply to asumface from comment #0)
> I believe both functions would handle this case correctly, not sure what constraints opEquals touches to create this pathological case.

opEquals is called by "is(typeof(value == OriginalType!T.init))" in the second
overload.

--
January 28, 2020
https://issues.dlang.org/show_bug.cgi?id=20539

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7378 "Fix Issue 20539 - std.conv.to: internal overload conflict for enums with base types that have a catch-all opEquals overload" fixing this issue:

- Fix Issue 20539 - std.conv.to: internal overload conflict for enums
  with base types that have a catch-all opEquals overload (?)

https://github.com/dlang/phobos/pull/7378

--
January 17
https://issues.dlang.org/show_bug.cgi?id=20539

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7749 "Fix Issue 20539 - std.conv.to: internal overload conflict for enums with base types that have a catch-all opEquals overload (?)" fixing this issue:

- Fix Issue 20539 - std.conv.to: internal overload conflict for enums
  with base types that have a catch-all opEquals overload (?)

https://github.com/dlang/phobos/pull/7749

--
January 19
https://issues.dlang.org/show_bug.cgi?id=20539

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7749 "Fix Issue 20539 - std.conv.to: internal overload conflict for enums with base types that have a catch-all opEquals overload (?)" was merged into master:

- ad72a3f7cd7970b6b98bbc56a929cfae0af7a68c by Bernhard Seckinger:
  Fix Issue 20539 - std.conv.to: internal overload conflict for enums
  with base types that have a catch-all opEquals overload (?)

https://github.com/dlang/phobos/pull/7749

--