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

           Summary: XXX is not a template
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: deadal...@gmail.com


--- Comment #0 from deadalnix <deadal...@gmail.com> 2013-05-25 00:21:48 PDT ---
See cod below :

auto foo() {
    0.bar!({})(0);
}

void bar(alias handler, T)(T t, int i) {
    t.bar!buzz(i);
}

void buzz(){}

Compile with dmd 2.062. With dmd 2.063 :

bug.d(7): Error: function bug.bar!(function void()
{
}
, int).bar is not a template
bug.d(3): Error: template instance bug.bar!(function void()
{
}
, int) error instantiating

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

Reply via email to