Thread overview
New flag -checkaction=context makes asserts unpure
Mar 03, 2019
Per Nordlöw
Mar 03, 2019
Dennis
Mar 03, 2019
Per Nordlöw
March 03, 2019
When adding the line

    dflags "-checkaction=context" platform="dmd"

to my dub.sdl I get compilation errors related to unpure assert calls in member functions of, for instance, iota and std.array.join, std.format.format.

Is this intentional, @wilzbach?
March 03, 2019
On Sunday, 3 March 2019 at 21:57:43 UTC, Per Nordlöw wrote:
> Is this intentional

It's an issue: https://issues.dlang.org/show_bug.cgi?id=19635
The PR with the fix isn't merged yet unfortunately.
March 03, 2019
On Sunday, 3 March 2019 at 22:22:33 UTC, Dennis wrote:
> On Sunday, 3 March 2019 at 21:57:43 UTC, Per Nordlöw wrote:
>> Is this intentional
>
> It's an issue: https://issues.dlang.org/show_bug.cgi?id=19635
> The PR with the fix isn't merged yet unfortunately.

Thanks.