[Issue 18115] [REG2.078-b1] case where && is not shortcut anymore in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 28 08:58:40 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18115

--- Comment #9 from Rainer Schuetze <r.sagitario at gmx.de> ---
> Sorry, did you miss my previous answer ? Use the code from the first message.
> The regression is obvious.

I noticed and it is consistent with what I tried to say before: the reduced
test case fails because it checks "test()" for length 6, but then tries to
access "test()"[$-7].

I think the problem actually existed before (as in my variation), but is now
also visible in array comparisons a bit earlier.

--


More information about the Digitalmars-d-bugs mailing list