https://issues.dlang.org/show_bug.cgi?id=19963

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from RazvanN <[email protected]> ---
The problem is that function g is pure, but it contains function i that
accesses the variable fx which is outside of its scope, thus violating purity.
This code should issue an error, but it doesn't.

--

Reply via email to