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

Walter Bright walter at digitalmars.com
Sun Apr 10 21:17:26 PDT 2011



On 4/10/2011 4:07 PM, Don Clugston wrote:
> Walter -- please do NOT use this commit, it is not correct.

Ok.

>   (The
> correct solution is to remove the assert entirely and leave the code
> as-is).

Can you give me a diff for that?

>
> 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.
>>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
>


More information about the dmd-internals mailing list