[Issue 179] Covariance screws up when overriding two interfaces or a class and an interface

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 13 06:00:34 PDT 2006


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





------- Comment #5 from daiphoenix at lycos.com  2006-06-13 08:00 -------
(In reply to comment #2)
> What compiler version and OS are you using exactly?  The first testcase looks
> like one I thought was fixed.  Can you still reproduce bug 65, from either the
> code posted there or the associated DStress testcases?

WinXP and the compiler is the latest of course (0.160). Bug 65 testcases run
fine (no bugs), both yours, and the DStress ones.
How about you, what do you get running my first or second program?
This does look similar to bug 65, but the difference here is that the covariant
parent (ICov) is an interface and not a class. Change ICov to a class, and the
test runs fine.


-- 




More information about the Digitalmars-d-bugs mailing list