Thread overview
[Issue 483] New: ICE-invalid with tuple. mangleof.
Nov 06, 2006
d-bugmail
Nov 16, 2006
d-bugmail
Nov 23, 2006
Thomas Kuehne
November 06, 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@digitalmars.com
        ReportedBy: clugdbug@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);
}


-- 

November 16, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=483


clugdbug@yahoo.com.au changed:

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




------- Comment #1 from clugdbug@yahoo.com.au  2006-11-16 08:08 -------
Fixed 0.174.


-- 

November 23, 2006
d-bugmail@puremagic.com schrieb am 2006-11-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=483

> 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);
> }

Added to DStress as http://dstress.kuehne.cn/nocompile/m/mangleof_18_A.d

Thomas