https://issues.dlang.org/show_bug.cgi?id=18678
--- Comment #2 from Jack Stouffer <j...@jackstouffer.com> --- (In reply to Jonathan M Davis from comment #1) > Why does it matter if opCmp is defined and not toHash? It's if opEquals is > defined that toHash is required, not opCmp. If opCmp is defined but opEquals isn't, doesn't DMD re-write `val == val` to `val.opCmp(val) == 0`? --