On Sunday, 9 February 2014 at 00:18:28 UTC, Nick Sabalausky wrote: > So I take it purity enforcement is disabled with the -debug > flag? Or is it some sort of hack with writeln? The debug statement specifically (which is only compiled in when you use the -debug flag). debug foo(); will work in a pure function, even if foo is not pure.