June 28, 2013
7:26 p.m.
Hi, Does the closure returned from | foo | foo := #( data 1 2 3 ). [ :x | x + 1 ] close over foo ? Since foo is not used, it should not, right ? But it seems that the outer context of the block closure knows about foo, although the value seems nil. And if it closes over foo, foo's value/binding won't be GC-ed so long as there is a reference to the block closure, even though foo is not practically accessible. Sven