[Pharo-project] Block semantics ....
james_ladd at hotmail.com
Sun Nov 28 22:37:07 CET 2010
I'm wondering about documentation to describe the block semantics of Pharo Smalltalk,
Specifically around the return context when a block contains a return: [ ^ foo ]
Is a block valid only within the method that defined it and passed / called it?
I think it is, and when called outside of the context there is a BlockContext no longer exists error.
However, I'm looking for documentation or confirmation to ensure my testing was correct.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-project