On Sunday, 25 May 2014 at 06:54:47 UTC, Steven Schveighoffer
wrote:
Any object/struct that defines opCmp but not opEquals is
broken, and deserves to not work with AAs.
If this is the case, then it needs to be documented in
http://dlang.org/operatoroverloading.html (I'm not seeing it
there), and the compiler needs to make it an error.
It's a trivial change to add opEquals when opCmp is defined.
This change should happen should happen. What pull request is
it?
You mean have the compiler add it automatically?