[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:15:15 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=179
------- Comment #6 from smjg at iname.com 2006-06-13 08:15 -------
(In reply to comment #5)
> (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.
Actually, it was meant to be part of bug 65, it was just
inadvertently omitted from the testcases.
I will take your code home and test it though.
--
More information about the Digitalmars-d-bugs
mailing list