[Issue 1451] overloading methods by mixin in static if doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 5 08:03:50 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=1451


dawg at dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dawg at dawgfoto.de


--- Comment #2 from dawg at dawgfoto.de 2012-03-05 08:03:49 PST ---
cat > bug.d << CODE
mixin template func(T)
{
    void bar(T) {}
}

mixin func!(int);
mixin func!(double);

void baz()
{
    bar(0);
    bar(1.0);
}
CODE

dmd -c bug

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list