buildOpEquals

Build opEquals for struct. const bool opEquals(const S s) { ... }

By fixing https://issues.dlang.org/show_bug.cgi?id=3789 opEquals is changed to be never implicitly generated. Now, struct objects comparison s1 == s2 is translated to: s1.tupleof == s2.tupleof to calculate structural equality. See EqualExp.op_overload.

Suggestion Box / Bug Report