October 24, 2006 double interface inheritance? | ||||
|---|---|---|---|---|
| ||||
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
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply