[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 00:06:27 PDT 2006


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





------- Comment #3 from lio at lunesu.com  2006-06-13 02:06 -------
(In reply to comment #1)
Bruno, your second program doesn't compile:

t.d(21): no property 'covfunc' for type 't.ICov'
t.d(21): function expected before (), not 1 of type int
t.d(21): cannot implicitly convert expression (1()) of type int to t.IFoo

(Digital Mars D Compiler v0.160)


-- 




More information about the Digitalmars-d-bugs mailing list