Pragma conversion update #3: dynamic non-caching descriptions
nick.ager at gmail.com
Wed Jan 18 18:01:01 MET 2012
I've removed Magritte's description caching in the latest version so that
descriptions are now created dynamically on demand. Without the cache I
found I needed to guard against recursive descriptions and ended up using a
dynamic-variable as a temporary cache to break the recursion.
I had to modify one test to avoid a failure:
self assert: self magritteDescription children first reference = self
The failure was caused by the child descriptions both having null accessors
which use random UUIDs so will never be equal. I fixed this by specify an
accessor: "accessor: MADictionaryAccessor new;"
I've created a Magritte-Deprecated package which contains:
Also the following package extension methods have been placed in deprecated:
and I've removed all references to #magritteDynamicObject and the
associated block in the core Magritte packages.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smallwiki