[squeak-dev] nil in an exception handler?
Frank Shearar
frank.shearar at gmail.com
Tue Aug 13 21:36:09 UTC 2013
On 13 August 2013 22:32, tim Rowledge <tim at rowledge.org> wrote:
>
> 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|
Hand me that brown paper bag, would you? No no, I'll put it on my head myself.
frank
> 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
|