Aug. 24, 2010
1:19 p.m.
I opened a ticket http://code.google.com/p/pharo/issues/detail?id=2854
+1 Are you already onto it? If not, I can make my hands dirty on this one ;-)
All yours I think :P.
great :-/
Anyway, the problem goes down to Integer>>readFromString: which returns 0 if the string does not represent a number. The comment says something about backwards compatibility, so we'll have to approach the issue with care but having 0 as the error value is flabbergasting to me.
I thought that readFromString: was raising an error and that guessNumber* was returning zero