debug = x overrides command line

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 21 19:33:02 PDT 2014


On 10/21/14 3:24 PM, Walter Bright wrote:
> On 10/21/2014 12:15 PM, Gary Willoughby wrote:
>> On Tuesday, 21 October 2014 at 17:25:37 UTC, Steven Schveighoffer
>> wrote:
>>> Yep, you can just turn off purity when it gets in the way.
>>>
>>> -Steve
>>
>> Please raise a ticket for this.
>
> That was done deliberately - it's a feature. It enables things like
> debugging printf's to be inserted into pure functions.

Right. But my understanding was that was only when you were actually 
compiling with debug enabled. I didn't expect it to be a feature to be 
able to do this without debug enabled, as it currently is.

-Steve


More information about the Digitalmars-d mailing list