Windows CE and minimal image

Lars Nilsson lars at cymfony.com
Tue May 23 00:01:33 UTC 2000


> 
> MyClass>>test: arg1 with: arg2
> 	^self
> 
> results (after adding instvars 'foo' and 'bar') in
> 
> test: e with: risrg2 
> 	^ nil
> 
> Note that not only the arguments have changed but also the actual method!
> (now returning nil instead of self). Anyone having any ideas?!
> 
>   - Andreas
> 

If you want to investigate it further, before Dan Ingalls provides a fix (at
the time I'm writing this I've seen two messages from him on the subject,
one in reply to you), you could try executing methods that have apparently
incorrect method bodies. In my own case I ended up with ^nil, just like
you, but for the code that corresponded to x / (x + y), where x = 1 and
y = 2, I did get the result 1/3 even though the return statement said ^ nil.

Lars





More information about the Squeak-dev mailing list