[Issue 6319] debug's relaxed purity does not apply to nested scopes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 05:27:25 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6319


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com
           Platform|x86                         |All
         AssignedTo|nobody at puremagic.com        |yebblies at gmail.com
            Summary|Problem with prinft inside  |debug's relaxed purity does
                   |debug{} of pure function    |not apply to nested scopes
         OS/Version|Windows                     |All


--- Comment #4 from yebblies <yebblies at gmail.com> 2013-01-17 00:27:22 EST ---
Reduced:

int x;

void main() pure
{
    debug
    {
        {
            x = 0;
        }
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list