Thread overview
[Issue 334] New: Void Initializer ICE
Sep 08, 2006
d-bugmail
Sep 13, 2006
Thomas Kuehne
Sep 19, 2006
d-bugmail
September 08, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=334

           Summary: Void Initializer ICE
           Product: D
           Version: 0.166
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: oskar.linde@gmail.com


typedef ubyte x = void;
void main() { new x[10]; }

Gives:

dmd: init.c:87: virtual Expression* VoidInitializer::toExpression(): Assertion
`0' failed.


-- 

September 13, 2006
d-bugmail@puremagic.com schrieb am 2006-09-08:
> http://d.puremagic.com/issues/show_bug.cgi?id=334

> typedef ubyte x = void;
> void main() { new x[10]; }
>
> Gives:
>
> dmd: init.c:87: virtual Expression* VoidInitializer::toExpression(): Assertion
> `0' failed.

Added to DStress as http://dstress.kuehne.cn/run/t/typedef_18_A.d http://dstress.kuehne.cn/run/t/typedef_18_B.d http://dstress.kuehne.cn/run/t/typedef_18_C.d

Thomas


September 19, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=334


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2006-09-19 15:30 -------
Fixed in DMC 0.167.


--