[Issue 8030] Multiple override are allowed using mixin template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 9 17:10:58 PDT 2016


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

andy.pj.hanson at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andy.pj.hanson at gmail.com

--- Comment #2 from andy.pj.hanson at gmail.com ---
Related: overloads don't appear to be recognized from within mixin templates.
---
class X {
    void x() {}
    mixin template T() {
        void x(int y) { x(); }
    }
    mixin T;
}
// app.d(4): Error: function app.X.T!().x (int y) is not callable using
argument types ()

--


More information about the Digitalmars-d-bugs mailing list