[BUG] Conversion of String to Number don't check negatives

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Sep 30 09:32:43 UTC 2004


On 29/09/04 22:55, "David T. Lewis" <lewis at mail.msen.com> wrote:

> On Wed, Sep 29, 2004 at 06:40:30AM -0300, Lic. Edgar J. De Cleene wrote:
>> I wonder how long exists serious bug like this.
>> Open Workspace.
>> Type something like.
>> '-94' asInteger
>> Inspect it, and see
> 
> This bug was introduced Sept 1, 2000. Prior to that, the String>>asInteger
> method did not exist. I entered this in the Mantis bug tracker (but I
> recorded it as a "minor" bug).
> 
> Dave
Dave:
With all respect, I disagree what is a minor bug.
What about reading legacy text data saved in disk for using into Squeak ?
Lucky us what no Bank is doing something like this.

Edgar




More information about the Squeak-dev mailing list