[Issue 11222] New: std.string.isNumeric accepts a "+"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 10 14:06:51 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11222
Summary: std.string.isNumeric accepts a "+"
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-10-10 14:06:51 PDT ---
With DMD 2.064 alpha this raises no assert error:
import std.string: isNumeric;
void main() {
assert(isNumeric("+"));
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list