Is it time to deprecate COM compatibility through D interfaces?
Fawzi Mohamed
fawzi at gmx.ch
Wed Apr 14 07:35:48 PDT 2010
On 14-apr-10, at 15:55, Walter Bright wrote:
> Fawzi Mohamed wrote:
>> please note that multiple inheritance in interfaces is still buggy,
>> things like casting directly an interface to another (without
>> casting to object first) or taking a delegate to a method of a
>> super interface that is not the first one fail in ugly ways.
>> I have become very wary of interfaces because of this, and try to
>> avoid multiple inheritance in them as much as possible...
>> I hope it will be fixed.
>
> Are these in bugzilla?
the delegate one:
http://d.puremagic.com/issues/show_bug.cgi?id=3706
delegates of interfaces with multiple inheritance fail
about multiple inheritance, I might misremember, I know that I had to
cast through Object in my Serialization function, but I don't know
anymore exactly why, I haven't found a relevant bug, and my simple
experiments with casting seem to work...
by the way also
http://d.puremagic.com/issues/show_bug.cgi?id=2683
Cannot implement interface methods by alias
is annoying, makes the use of templates to implement interfaces
cumbersome.
More information about the Digitalmars-d
mailing list