[dmd-beta] dmd 2.053 beta

Don Clugston dclugston at googlemail.com
Tue May 10 04:52:40 PDT 2011


PATCH:
interpret.c, copyLiteral(), line 2163:

        se2->committed = se->committed;
        se2->postfix = se->postfix;
        se2->type = se->type;
+        se2->sz = se->sz;
        return se2;


On 10 May 2011 11:56, Nick Sabalausky <bus_dmdbeta at semitwist.com> wrote:
> 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.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>


More information about the dmd-beta mailing list