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

David T. Lewis lewis at mail.msen.com
Thu Sep 30 01:55:35 UTC 2004


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




More information about the Squeak-dev mailing list