Yeah here in your BlockClosure [^1] the homeContext and the outerContext is the context created for UndefinedObject>>DoIt.
That's certainly true if you run it from a Workspace.On 16 November 2012 16:53, St�phane Ducasse <stephane.ducasse@inria.fr> wrote:
> Hi guys
>
> I'm updating the exception chapter to show the interplay between exception and ensure/ifcurtailed:
>
> [[ ^ 1 ]
> � � ifCurtailed: [ Transcript show: 'show �only curtailed'; cr. ]]
> � � � � on: Error do: [ :e |
> � � � � � � � � Transcript show: 'error'; cr. "do not show it"
> � � � � � � � � e return: 4 ].
>
> normally shows that only the ifCurtailed: argument is executed.
>
> Now I do not get why when I select
> � � � � [^ 1] value and execute it I do not get an error telling me that there is no context to return to.
>
> May be because the evaluation itself creates a context.
frank
> Stef
>
>