D-Programming-Language/dmd — pull request #2321 by 9rnsr (2013-07-09 02:42:55+00:00)
Title: Partial fix for Issue 10567 - Typeinfo.compare has unreasonable signature requirements on opCmp

http://d.puremagic.com/issues/show_bug.cgi?id=10567

If needed, generate `__xopEquals` method in order to adapt `opCmp` member function (even if it's a template) to the function pointer `TypeInfo_Struct.xopCmp`.

BUG: Searching `opCmp` member doesn't work with alias this.