[dmd-beta] dmd 2.053 beta

Nick Sabalausky bus_dmdbeta at semitwist.com
Tue May 10 02:56:49 PDT 2011


Another one:

[2.053 beta][CTFE] ICE: 'global.errors' on line 1416 in file 'constfold.c'
http://d.puremagic.com/issues/show_bug.cgi?id=5975

int foo(wstring replace)
{
    wstring value = "";
    value ~= replace;
    return 1;
}
enum X = foo("X"w);

> dmd test.d
Assertion failure: 'global.errors' on line 1416 in file 'constfold.c'

abnormal program termination

I got that with this version of DMD:

https://github.com/D-Programming-Language/dmd/commit/4055820a360ae56c5469678f280e374151c18c11

Compiled in release mode. 



More information about the dmd-beta mailing list