Thread overview
[Issue 14039] [REG2.067a] function is incorrectly inferred as 'pure'
Jan 26, 2015
Kenji Hara
January 26, 2015
https://issues.dlang.org/show_bug.cgi?id=14039

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid
            Summary|function is incorrectly     |[REG2.067a] function is
                   |inferred as 'pure'          |incorrectly inferred as
                   |                            |'pure'
           Severity|normal                      |regression

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
It was introduced in: https://github.com/D-Programming-Language/dmd/pull/3626

Compiler fix: https://github.com/D-Programming-Language/dmd/pull/4344

--
January 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14039

--- Comment #2 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0acb94c7b8198b28386ed3c298e8c8a6829340be fix Issue 14039 - function is incorrectly inferred as 'pure'

Fixes the interaction between issue 9148 behavior (more precise pure attribute annotation for nested functions) and purity inference.

https://github.com/D-Programming-Language/dmd/commit/dfebd9cce97746aa9d32e4c980c50b5472bac578 Merge pull request #4344 from 9rnsr/fix14039

[REG2.067a] Issue 14039 - function is incorrectly inferred as 'pure'

--
January 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14039

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
July 13
https://issues.dlang.org/show_bug.cgi?id=14039

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=20047

--