double interface inheritance?

rm roel.mathys at gmail.com
Tue Oct 24 13:20:10 PDT 2006


Is the stuff below allowed?

>>>

interface C
{
	void f();
}

class CC : C,C
{
	void f() {}
}

void main()
{
	CC cc = new CC();
	cc.f();
}

<<<

I thought it should generate an error?

roel



More information about the Digitalmars-d mailing list