Sept. 9, 2017
8:22 a.m.
STON cannot serialise block closures. You would have to get creative to make this work. For SortedCollection, it would only work without a sort block. STON fromString: (STON toString: #(1 2 3) asSortedCollection).
On 9 Sep 2017, at 04:58, Sean P. DeNigris <sean@clipperadams.com> wrote:
I serialized aSortedCollection with a sort block comparing via a #startTime message on the domain objects. When I attempted to materialize it, I got an error that my domain objects don't understand #<=. It seems that the elements are being loaded before the sort block.
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html