Following code import std.conv; void main() { parse!int("-42", 10); } causes exception in runtime: std.conv.ConvException@C:\dmd2\src\phobos\std\conv.d(2045): Can't convert value `-42' of type string base 10 to type int I think the leading sign character should be considered when radix equals to 10.
https://github.com/D-Programming-Language/phobos/pull/250
https://github.com/D-Programming-Language/phobos/commit/c16f64c3c2e7a3dfcf45c95dd4df9110f0c7dddd