digitalmars.D.bugs - [Issue 898] New: std.conv.toInt doesn't raise ConvOverflowError
- d-bugmail puremagic.com (17/17) Jan 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=898
- d-bugmail puremagic.com (9/9) Feb 06 2007 http://d.puremagic.com/issues/show_bug.cgi?id=898
http://d.puremagic.com/issues/show_bug.cgi?id=898
Summary: std.conv.toInt doesn't raise ConvOverflowError
Product: D
Version: 1.004
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla digitalmars.com
ReportedBy: diablotail yahoo.com
A code like:
writefln(std.conv.toInt("5656566565"));
doesn't raise an exception, and it also prints the value 1361599269 resulted
from the integer overflow.
--
Jan 28 2007
http://d.puremagic.com/issues/show_bug.cgi?id=898
diablotail yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
*** Fixed in version 1.005 ***
--
Feb 06 2007








d-bugmail puremagic.com