[Issue 15862] dmd thinks functions are strongly pure despite mutable indirections in the return type
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 14 14:02:32 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15862
--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
Yeah, my mistake. The compiler should consider @nogc when marking a pure
function as a common subexpression.
--
More information about the Digitalmars-d-bugs
mailing list