www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 537] New: ICE from unnamed tuple parameter

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: wbaxter 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) {
}


-- 
Nov 16 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=537


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME





Works with dmd 1.021 and 2.004


-- 
Oct 02 2007