[squeak-dev] The Trunk: Kernel-cmm.1049.mcz
bert at freudenbergs.de
Thu Nov 17 18:22:51 UTC 2016
On Fri, Nov 11, 2016 at 9:56 PM, <commits at source.squeak.org> wrote:
> Chris Muller uploaded a new version of Kernel to project The Trunk:
> Give ReferenceStream the ability to serialize objects whose behaviors were
> extended via #primitiveChangeClassTo:.
Do you mean you subclassed an object but want it to be written as instance
of its superclass? And you implemented xxxClass to return the superclass?
> =============== Diff against Kernel-nice.1048 ===============
> | cntInstVars cntIndexedVars |
> cntInstVars := self class instSize.
> cntIndexedVars := self basicSize.
> + beginInstance: self xxxClass
> - beginInstance: self class
> size: cntInstVars + cntIndexedVars.
I find the choice of xxxClass pretty odd. But maybe I can understand better
if you could give an example how you use it.
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev