Aug. 26, 2010
12:43 p.m.
On 25 Aug 2010, at 09:26, Stéphane Ducasse wrote:
Did you mean to let the dirty stuff to #squeezeOutNumber and throw the error in the #readFrom:?
Yes. Now we should identify user of readFrom: that in fact are expecting squeezeOutNumber and fix them.
Well, it seems that the current readFrom: only requires the string to _start_ with a valid format. This means that: '3foo' asInteger = 3 Should we not fail here too? What are the opinions? Johan