On 2014-02-25 22:51, Steven Schveighoffer wrote:
If the compiler generates opEquals and opCmp, then it's guaranteed opEquals(x, y) is equivalent to opCmp(x, y) == 0.The compiler should NOT complain about this, which I should have more clearly stated (I thought I had).
Filed as . Unfortunately I wasn't able to find a reduced test case.  https://d.puremagic.com/issues/show_bug.cgi?id=12267 -- /Jacob Carlborg