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

--- Comment #1 from Adam D. Ruppe <[email protected]> ---
Actually, I don't think I completely reduced this; you can remove the alias
param and still get it by just mentioning `impl` in the body.

This is further reduced:

```
interface A {
        void foo();
        void foo(int);
}

mixin template C() {
        void foo(){ return impl.foo(); }
        void foo(int p){ return impl.foo(p); }
}

class B : A {
        A impl;
        mixin C!() c;
        void foo(int) {}
        alias foo = c.foo;
}
```

The alias line in the class is necessary to trigger the thing.

--

Reply via email to