[Issue 537] New: ICE from unnamed tuple parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 16 17:30:02 PST 2006


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

           Summary: ICE from unnamed tuple parameter
           Product: D
           Version: 0.174
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: wbaxter at gmail.com


Forgetting to name a Tuple parameter causes a compiler crash with:
  "Assertion failure: 'arg->ident' on line 700 in file 'func.c'"

--------------------
template Tuple(T...) { alias T Tuple; }
alias Tuple!(int,int) TType;
void bar(TType) {
}


-- 




More information about the Digitalmars-d-bugs mailing list