Challenge (was: Re: [Squeak 0003836]: nil ~= 1and: [1 isNil] is parsed+compiled without complaint)

Bert Freudenberg bert at impara.de
Thu Jul 13 13:58:51 UTC 2006


Am 13.07.2006 um 13:58 schrieb David Corking:

> On 7/13/06, Bert Freudenberg <bert at impara.de> wrote:
>> Heh. My favourite strange expression is this:
>>
>> # "hi there" :== '_'
>>
>> 1) Who can guess what the result is WITHOUT trying it?
>> 2) Who can explain what's happening?
>> 3) Do we need to fix it?
>>
>
> Nothing happens here except 'Nothing more expected'.  What is supposed
> to happen.

Make sure what looks like spaces are actually spaces - when  
copy&pasting code from an email some systems convert a space (32)  
into a non-breaking space (160) which the parser does not accept as  
whitespace.

- Bert -




More information about the Squeak-dev mailing list