Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 06, 2011 [Issue 6258] New: std.conv.to!real("-") fetches the front of an empty array. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6258 Summary: std.conv.to!real("-") fetches the front of an empty array. Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: kajetan.rzepecki@gmail.com --- Comment #0 from Kajtek <kajetan.rzepecki@gmail.com> 2011-07-06 07:43:52 PDT --- Instead it should throw ConvException. Some code and versions: import std.conv; void main() { to!real("-"); //GDC hg, using dmd 2.052 core.exception.AssertError@/.../std/array.d(373): Attempting to fetch the front of an empty array //DMD32 D Compiler v2.053 core.exception.AssertError@/.../std/array.d(372): Attempting to fetch the front of an empty array //GNU/Linux i686 } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 18, 2011 [Issue 6258] std.conv.to!real("-") fetches the front of an empty array. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kajtek | http://d.puremagic.com/issues/show_bug.cgi?id=6258 --- Comment #1 from Kajtek <kajetan.rzepecki+puremagic@gmail.com> 2011-07-18 10:42:30 PDT --- Happens aswell when parsing "in". to!real("in"); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 20, 2011 [Issue 6258] std.conv.to!real("-") fetches the front of an empty array. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kajtek | http://d.puremagic.com/issues/show_bug.cgi?id=6258 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2011-09-20 05:42:36 PDT --- https://github.com/D-Programming-Language/phobos/pull/270 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 14, 2011 [Issue 6258] std.conv.to!real("-") fetches the front of an empty array. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kajtek | http://d.puremagic.com/issues/show_bug.cgi?id=6258 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-13 23:06:48 PDT --- https://github.com/D-Programming-Language/phobos/commit/e51fb3e6da41f7bbfe9005726bb9292f6afb3335 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation