What is correct in include: nil ?

Raab, Andreas Andreas.Raab at disney.com
Thu Sep 2 01:06:37 UTC 1999


It should return false since nil is not in the String. 

[Note to Dan: Seems like all the senders of String
class>>indexOfAscii:inString:startingAt: don't check if the argument is a
character at all before sending #asciiValue. It should be fixed in these
senders]

  Andreas
--
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering        Phone: +1 818 544 5016  I
I Glendale, CA                    Fax:   +1 818 544 4544  I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+


> ----------
> From: 	Javier Diaz
> Reply To: 	squeak at cs.uiuc.edu
> Sent: 	Wednesday, September 1, 1999 4:29 PM
> To: 	squeak at cs.uiuc.edu
> Cc: 	recipient list not shown
> Subject: 	What is correct in include: nil ?
> 
> Before update 1398 threefixes-bf by Bert Freudenberg the following
> expression return false:
> 
> '@<>)$"' includes: nil
> 
> But after the update fails with error 'Message not understood:
> asciiValue',
> is this correct?
> 
> 





More information about the Squeak-dev mailing list