[Issue 4088] opEquals not called on interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 18 08:35:55 PST 2011


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



--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-02-18 08:33:19 PST ---
(In reply to comment #3)
> Can't dmd just check the "type" of a given interface and only allow implicit
> casts to Object if it is a normal one, i.e. no COM and no C++ interface?

I'm not familiar with the internals of the compiler, but I believe this is
true.  I think it should be statically verifiable that an interface is a COM
interface, and then opEquals can be handled differently.

However, we continue to get silence from Walter on this...

-- 
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