[Issue 10045] Missed warning with wrong toHash() + toHash documentation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 4 09:57:15 PDT 2014


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4
           Hardware|x86                         |All
                 OS|Windows                     |All
           Severity|minor                       |major

--- Comment #3 from Martin Nowak <code at dawg.eu> ---
Nowadays the compiler silently generates a toHash function when the signature
of the declared one doesn't match.
This makes it unnecessary hard to declare a toHash function.

--


More information about the Digitalmars-d-bugs mailing list