Thread overview
[Issue 4290] 'Fragile' opCmp/toHash signature errors
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=4290

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|future                      |D2

--
March 20
https://issues.dlang.org/show_bug.cgi?id=4290

Daniel Čejchan <czdanol@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |czdanol@gmail.com

--
July 05
https://issues.dlang.org/show_bug.cgi?id=4290

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=11591
         Resolution|---                         |WORKSFORME

--- Comment #11 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
The program now correctly fails to compile with the error message:

test.d(14): Error: AA key type Foo should have 'size_t toHash() const nothrow
@safe' if opEquals defined

The respective change is https://github.com/dlang/dmd/pull/3054.

--