[phobos] Commit 1717 broke Phobos unittests
dclugston at googlemail.com
Fri Aug 6 06:25:17 PDT 2010
conv.d, in the parse function for floating point numbers:
Target parse(Target, Source)(ref Source p) if (isInputRange!Source &&
/*!isSomeString!Source && */isFloatingPoint!Target)
The offending line is line 1360:
This is wrong; it should be throwing ConvError. This makes the
unittests in line 2257, 2312, 2380 fail.
In fact, most of the other uses of enforce() in this function should
probably be throwing a ConvError.
More information about the phobos