[squeak-dev] odd gotcha in workspace code for squeak and pharo

Lawson English lenglish5 at cox.net
Sat Mar 3 16:29:25 UTC 2012


A discussion in IRC prompted me to try several things.


In a nutshell, execute these two lines with two separate doits and you 
get an error.
Select both lines and doit and you don't:

a := [^true].
a value.

I assume there is a valid reason for the difference in behavior, but it 
DOES remind one that workspace behavior isn't always the same as method 
behavior, even for something as simple as the above.

L.




More information about the Squeak-dev mailing list