> I believe this is a bug.

That's the correct behavior. This is exactly how closures should
behave. The variable declaration is outside the block you store thus
one variable slot is shared among multiple block definitions inside.
See ClosureTests for more examples of that behavior.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to