New flag -checkaction=context makes asserts unpure

Per Nordlöw per.nordlow at gmail.com
Sun Mar 3 21:57:43 UTC 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?


More information about the Digitalmars-d mailing list