[Issue 4088] opEquals not called on interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 13 16:51:53 PST 2011


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



--- Comment #2 from dawg at dawgfoto.de 2011-02-13 16:49:22 PST ---
Created an attachment (id=907)
Proposed fix

It is actually a very surprising bug, that interfaces can't be compared as it
might break structs due to the compiler generated opEquals.
The attached patch does an explicit cast to Object.
This would still not work with C++/COM interfaces.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list