b := [ |a| a:=2 ].
b asContext tempNames -> #('a')
b asContext tempNamed: 'a' -> Boom in MethodContext>>#tempAt: primitive
tempAt: in Method context uses <primitive: 210>, which is failing. Maybe
there is a new primitive we are not aware of for Blocks...
On Sat, Apr 14, 2012 at 1:09 PM, Stéphane Ducasse <[email protected]
> wrote:
> I'm taking some times to go back the block closure chapter and I was
> wondering how I can get access to block temporaries
>
> [ |a | a :=2. a]
>
> for example I tried
>
> [ |a | a :=2. a]
>
> outerContext contextForLocalVariables tempAt: 1 and variations but none
> worked.
>
> Stef
>
>
>
>