Pure Contract bug? (unnecessarily strict)

Jesse Phillips jessekphillips+D at gmail.com
Mon Jan 30 12:04:02 PST 2012

On Sunday, 29 January 2012 at 06:22:26 UTC, Era Scarecrow wrote:
> Maybe someone's brought this up, but i seem to have the 
> compiler complaining to me that my function isn't 'pure' by 
> calling a non-pure function, specifically to!string().

I don't see why this couldn't be done, not only does it get not 
exist in release, it shouldn't be changing variables in 
non-release. As mentioned there is a hole for debug code.

Report it:


and we'll see what happens with that.

More information about the Digitalmars-d-learn mailing list