https://issues.dlang.org/show_bug.cgi?id=14160
--- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b6e8ef68dda3f306c70be659a69efa1db897798f fix Issue 14160 - mutable global data access is wrongly accepted in pure function https://github.com/D-Programming-Language/dmd/commit/abc775b2a8a08e07193d54dcbfc75b1bb34ee16d Merge pull request #4398 from 9rnsr/fix14160 --