Following eliot feedback, I fixed it see the bug tracker. But my question was 
totally stupid because
when you have 
        [ |a |  a;=2 . ^ a ] 
| a | exists only when executed. and the reflective model of block does not let 
us simply gets 
the information. 

Stef

On Apr 15, 2012, at 10:22 AM, Guillermo Polito wrote:

> 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
> 
> 
> 
> 


Reply via email to