October 16, 2006 [Issue 436] New: OutOfMemoryException undocumented, misdocumented | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=436 Summary: OutOfMemoryException undocumented, misdocumented Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Keywords: spec Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: chris@dprogramming.com http://www.digitalmars.com/d/phobos/std_gc.html says "it will throw an OutOfMemory exception" for enable/disable, which should be OutOfMemoryException, and there's no mention of where to find this. std.outofmemory appears to be completely undocumented. http://www.digitalmars.com/d/phobos/std_path.html says "Throws: std.OutOfMemory if there is not enough memory" for expandTilde(), which is very wrong, and probably doesn't even need to be mentioned; any function that allocates memory can throw it. I think OutOfMemoryException should be defined in std.gc and std.outofmemory should have a deprecated alias. -- |
October 18, 2006 [Issue 436] OutOfMemoryException undocumented, misdocumented | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=436 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2006-10-18 13:31 ------- Fixed DMD 0.170 -- |
Copyright © 1999-2021 by the D Language Foundation