www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - New flag -checkaction=context makes asserts unpure

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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?
Mar 03 2019
parent reply Dennis <dkorpel gmail.com> writes:
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.
Mar 03 2019
parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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.
Mar 03 2019