Thread overview
Compiler crash
Dec 05, 2006
%u
Dec 05, 2006
Brad Roberts
Dec 06, 2006
%u
December 05, 2006
Although this is a typo {} instead of [], and probably a syntax error, it shouldn't crash the compiler.

    Version: Digital Mars D Compiler v0.175 on XP

The code:

    ulong[] u = { 0xffffffffffffffff };

    int main( char[][] args ) {
        return 0;
    }

December 05, 2006
On Tue, 5 Dec 2006, %u wrote:

> Although this is a typo {} instead of [], and probably a syntax error, it shouldn't crash the compiler.
> 
>     Version: Digital Mars D Compiler v0.175 on XP
> 
> The code:
> 
>     ulong[] u = { 0xffffffffffffffff };
> 
>     int main( char[][] args ) {
>         return 0;
>     }

Grab 0.176.  I believe this was fixed in that release.  It had a rather large number of fixes in it.  If it's NOT fixed in 0.176, please file a report in bugzilla.

Later,
Brad
December 06, 2006
Indeed, v0.176 fixes it.

Sorry for the false report, but I only grabbed v0.175 a couple of days ago and didn't think to check for a later version.