[Issue 4088] opEquals not called on interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 5 20:34:53 PDT 2011


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



--- Comment #8 from Walter Bright <bugzilla at digitalmars.com> 2011-08-05 20:34:51 PDT ---
Issues that need to be resolved:

1. what should happen if this is called with a COM object?

2. how does an opEquals defined in an interface interact with the
object.opEquals?

3. a forced cast, unlike an implicit cast, is a blunt instrument that can do a
lot more than simply cast an interface to its base class. If the arguments are
other types, what are the conseqences of this forced cast?

A change of this sort needs to resolve these issues, and have test cases to
verify them.

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