December 22, 2008 [Issue 2535] New: Standard library does not mark functions as pure | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2535 Summary: Standard library does not mark functions as pure Product: D Version: 2.022 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: jason.james.house@gmail.com I hit this in std.cpuid, but I bet it occurs in many more places. Obviously, any part of phobos/druntime which does not properly mark pure functions is unusable from pure code. I'm pretty sure that the cpuid never changes while a program is running and the various attribute querying and toString should be pure. -- |
December 22, 2008 [Issue 2535] Standard library does not mark functions as pure | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2535 dsimcha@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from dsimcha@yahoo.com 2008-12-21 23:57 ------- *** This bug has been marked as a duplicate of 2515 *** -- |
Copyright © 1999-2021 by the D Language Foundation