[Issue 16574] [REG 2.072.0-b1] Unexplained errors about functions that overridde anything

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 6 13:38:26 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16574

--- Comment #5 from b2.temp at gmx.com ---
In a first time the good new is that I have a reduction:


interface Desc {}

class Bug(T): Desc
if (is(T : Desc))
{}

alias Type = Bug!Bar;

class Bar: Desc
{
    Type a;
    void test(){}
}

class Baz: Bar
{
    override void test(){}
}

void main()
{
    Bar b = new Bar;
}

--


More information about the Digitalmars-d-bugs mailing list