[Issue 467] double inheritance from the same interface

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 28 03:44:21 PDT 2006


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





------- Comment #1 from roel.mathys at gmail.com  2006-10-28 05:44 -------
Example code:

import std.stdio;

interface C
{
        void f();
}

class CC : C,C
{
        void f() { writefln("hello"); }
}

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


-- 




More information about the Digitalmars-d-bugs mailing list