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

           Summary: variadic template with nested function using tuple
                    fails
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: fa...@gmx.ch


--- Comment #0 from Fawzi Mohamed <fa...@gmx.ch> 2012-10-04 15:03:41 PDT ---
module t3;

struct A
{
    int i=1;
    ~this(){}
}

void ff(S...)(void delegate(S) dlg)
{
    void tt(){
        S arg;
    }
}

void h(){
    void gg(A){}
    ff(&gg);
}
--------
ICE with dmd 2.060:

Internal error: ../ztc/cgcs.c 343

using a scoped delegate does not have the problem

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

Reply via email to