On Tue, Dec 21, 2010 at 10:31 PM, Ramon Leon <ramon.leon@allresnet.com>wrote:
On 12/21/2010 08:51 PM, David Zmick wrote:
What can I do to fix this?
Another option might be to use a sort block that isn't a block, but an ordinary object that responds as a sort block would, allowing the collection to be serialized successfully.
Another option would be to fix the limitation. There's nothing conceptually preventing serializing a block. It's just an object after all. You have some choices - how do you serialize the home context (you need to serialize every context along the static chain out to the home context)? It should be serialized with a nil sender. - bringing the block back in do you try and hook up the method to the corresponding method in image or leave it anonymous; leave it anonymous. 2¢ Eliot
-- Ramon Leon http://onsmalltalk.com