On Tuesday, 29 May 2018 at 21:19:01 UTC, DigitalDesigns wrote:
https://dpaste.dzfl.pl/67691db19ce8

Simplified:

interface A
{
    import std.meta : AliasSeq;
    alias a = AliasSeq!(__traits(getMember, B, "foo"));
    void foo();
}

class B : A
{
    void foo() { }
}

It seems the compiler is looking at the class before the interface is ready, and that the method thus isn't marked as implementing an interface method. Filed as https://issues.dlang.org/show_bug.cgi?id=18915

--
  Simen

Reply via email to