[dmd-internals] Don's CTFE overhaul – bug reports?

Don Clugston dclugston at googlemail.com
Sun Apr 10 16:07:07 PDT 2011


Walter -- please do NOT use this commit, it is not correct. (The
correct solution is to remove the assert entirely and leave the code
as-is).


On 10 April 2011 07:26, Don Clugston <dclugston at googlemail.com> wrote:
> On 10 April 2011 01:48, David Nadlinger <code at klickverbot.at> wrote:

>> The exact error message is: »Assertion failed: ((v2->getValue()->op ==
>> TOKarrayliteral || v2->getValue()->op == TOKstring || v2->getValue()->op ==
>> TOKassocarrayliteral || v2->getValue()->op == TOKnull)), function
>> interpretAssignCommon, file interpret.c, line 2590.«

> This one is a simple bug -- I've just got two tests in the wrong order.
> I've pushed a fix to the ctfemem branch.
>
> https://github.com/donc/dmd/commit/f8e9d18d37a845c95a88e9146caf1b51a66b4d55
>
> Walter -- you could use the fork queue to apply this to both D2 and D1.
> If more test cases show up I'll do a separate branch.
>


More information about the dmd-internals mailing list