[squeak-dev] Cuis problem with blocks

Phil (list) pbpublist at gmail.com
Thu Jan 21 05:11:23 UTC 2010


I'm attempting to get some code running on Cuis 2.0 and am having a  
problem with some pretty simple blocks like:

[:sum :ea | sum := sum + ea] value: 1 value: 2.

resulting in an error:

[:sum :ea |  Cannot store into ->sum := sum + ea] value: 1 value: 2.

However, this example works without a problem in both 3.10.2 as well  
as 3.7.  Any idea what's going on?

Thanks,
Phil



More information about the Squeak-dev mailing list