digitalmars.D.bugs - [Issue 10002] New: 2.062 -> 2.063 call of "remove" is impure
- d-bugmail puremagic.com (29/29) Apr 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10002
- d-bugmail puremagic.com (10/10) Apr 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10002
- d-bugmail puremagic.com (11/11) May 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10002
- d-bugmail puremagic.com (9/9) May 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10002
http://d.puremagic.com/issues/show_bug.cgi?id=10002 Summary: 2.062 -> 2.063 call of "remove" is impure Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: henning still-hidden.de PDT --- import std.algorithm; class Node { Node parent; Node[] children; void foo() pure { parent.children.remove!(n => n is parent)(); } } 2.063: ----- main.d(8): Error: pure function 'foo' cannot call impure function 'remove' ----- Note: Moving "parent" into "foo" will make 2.062 reject it, too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 28 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10002 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1945 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 28 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10002 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/04b5b9a7da4b0c3da5f2d9c722ac08725548c361 fix Issue 10002 - calling std.algorithm.remove is impure https://github.com/D-Programming-Language/dmd/commit/75d36600d2f39777470c8b407569e08ead9c08d6 [REG2.063a] Issue 10002 - calling std.algorithm.remove is impure -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10002 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 08 2013