[squeak-dev] nil in an exception handler?

tim Rowledge tim at rowledge.org
Tue Aug 13 21:32:38 UTC 2013


On 13-08-2013, at 2:28 PM, Frank Shearar <frank.shearar at gmail.com> wrote:

> My update-image script has the approximate shape
> 
>    ["Do a lot of stuff"]
>     WorldState addDeferredUIMessage: [SmalltalkImage current
> snapshot: true andQuit: true]]
>        on: Error



>        do: [| e |



I'm reasonably sure you should be saying 
 do: [:e|

here… :var| not |var|



tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Beware of programmers who carry screwdrivers.




More information about the Squeak-dev mailing list