[Dlang-internal] Detect CTFE in AssignExp:semantic

Lucia Cojocaru via Dlang-internal dlang-internal at puremagic.com
Mon Jan 16 14:22:23 PST 2017


On Thursday, 12 January 2017 at 11:09:09 UTC, Martin Nowak wrote:
> On Wednesday, 11 January 2017 at 23:44:29 UTC, Stefan Koch 
> wrote:
>> it could still be that you are assigning from a const slice.
>
> In which case ref for the foreach parameter still works.

I updated the code based on your comments. Let me know if this is 
better.
The issue still persists.

druntime
https://github.com/somzzz/druntime/commit/fb51f34cb0bdd96daaa92ab22773bf93778d4d11

dmd
https://github.com/somzzz/dmd/commit/b3cf4625ce733e4b3f219bcd5069d9042430b594


More information about the Dlang-internal mailing list