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

--- Comment #2 from Basile-z <[email protected]> ---
reduced further

```
mixin template Impl(T){
    alias a =  __traits(getMember, T, "test");
    //alias a = T.test; // no vtbl corruption with this alias
}

class A(T) {
    mixin Impl!T;
}

class Foo : A!Foo {
    void test() {}
}

void main() {
    (new Foo).test();
}    
```

--

Reply via email to