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.