[Issue 483] New: ICE-invalid with tuple. mangleof.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 6 01:25:26 PST 2006


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

           Summary: ICE-invalid with tuple. mangleof.
           Product: D
           Version: 0.173
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P5
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au


I think it should just print an error "A is not a type".
--------
Assertion failure: 'deco' on line 540 in file 'mtype.c'

abnormal program termination
--------
char[] f(A...)(A a)
{
    return A.mangleof;
}

void main()
{
    int b = f(3);
}


-- 




More information about the Digitalmars-d-bugs mailing list