What rules to follow to avoid block-closure problems?
itsme213 at hotmail.com
Mon Jan 14 02:23:19 UTC 2008
"Randal L. Schwartz" <merlyn at stonehenge.com> wrote in message
> But this works fine as well in modern VMs:
> blocks := (1 to: 10) collect: [:each | [each] fixTemps].
> blocks first value.
I think #fixTemps fixes block-closure shortcomings only for some cases. e.g.
I had posted an example recently that failed despite #fixTemps. Hope it
won't stay this way for too much longer ...
More information about the Squeak-dev