digitalmars.D.bugs - [Issue 2515] New: Lots of pure and nothrow functions not marked as such.
- d-bugmail puremagic.com (16/16) Dec 14 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2515
- d-bugmail puremagic.com (8/8) Dec 21 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2515
- d-bugmail puremagic.com (12/12) Apr 01 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2515
http://d.puremagic.com/issues/show_bug.cgi?id=2515 Summary: Lots of pure and nothrow functions not marked as such. Product: D Version: 2.022 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: dsimcha yahoo.com Because semantic checking for pure is new, several functions in Phobos that (I'm pretty sure) are pure are not marked as such. Examples include std.math.sqrt and std.math.abs. --
Dec 14 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2515 dsimcha yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.james.house gmail.com *** Bug 2535 has been marked as a duplicate of this bug. *** --
Dec 21 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2515 clugdbug yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED I'm marking this as closed, since the examples given (functions in std.math) are pure nothrow from DMD 2.027, in every case which is currently possible. In general, at the present time, marking Phobos functions as 'pure nothrow' is a work-in-progress, not a bug. --
Apr 01 2009