--- Comment #1 from Kenji Hara <> 2012-04-13 23:25:21 PDT ---
std.conv.parse function receives the processed string with ref, and returns the
remains through it.

string input = "123abc";
int num = parse!int(input);
assert(num == 123);
assert(input == "abc");

So this is a Phobos issue, and expected behavior.
"123".parse!int() never works with current Phobos.

You can use!int("123") instead. It calls std.conv.parse and checks
there is no remains.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to