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

Klaus D. Witzel klaus.witzel at cobss.com
Thu Jul 13 11:53:22 UTC 2006


Right. It does

25 <20> pushConstant: #_
26 <22> pushConstant: '_'
27 <D1> send: break
28 <B6> send: =
29 <7C> returnTop

that is, the := is treated as _ in

# "hi there" :== '_'

/Klaus

On Thu, 13 Jul 2006 13:28:50 +0200, Lukas Renggli <renggli at gmail.com>  
wrote:

>> 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?
>
> Scanner>>xColon	
>





More information about the Squeak-dev mailing list