On Mon, Jul 22, 2013 at 1:58 PM, Stéphane Ducasse <[email protected] > wrote:
> Hi guys > > I'm trying to explain the following sentence (I wrote long time ago) and > now I'm stuck > > "escaping blocks jump to their home contexts but do not unwind the stack > after this point" > Seems wrong to me. ^-returns in blocks return to the sender of the home context. > especially I'm not clear anymore on the unwind the stack. > The stack is unwound either by the VM executing the ^-return or by MethodCOntext>>#return:, sent from #aboutToReturn:to: if the ^-return found an intervening unwind context. (The VM sends aboutToReturn:to:). HTH Eliot > Stef > -- best, Eliot
