Yeah here in your BlockClosure [^1] the homeContext and the outerContext is the context created for UndefinedObject>>DoIt.
2012/11/17 Frank Shearar <[email protected]> > On 16 November 2012 16:53, Stéphane Ducasse <[email protected]> > 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. > > That's certainly true if you run it from a Workspace. > > frank > > > Stef > > > > > >
