[Issue 4290] 'Fragile' opCmp/toHash signature errors
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 5 13:30:14 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=4290
Vladimir Panteleev <dlang-bugzilla at 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 at 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.
--
More information about the Digitalmars-d-bugs
mailing list