www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 334] New: Void Initializer ICE

reply d-bugmail puremagic.com writes:
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.


-- 
Sep 08 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFFCIkxLK5blCcjpWoRAlcPAKCEeSWBHJGu7mCg/nbetE0E+qO96wCeN87U mFuWhqQyaevU1AkKUTZreNg= =5rYJ -----END PGP SIGNATURE-----
Sep 13 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=334


bugzilla digitalmars.com changed:

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





Fixed in DMC 0.167.


-- 
Sep 19 2006