[squeak-dev] The Trunk: Kernel-cmm.1049.mcz
Bert Freudenberg
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:
> http://source.squeak.org/trunk/Kernel-cmm.1049.mcz
>
> 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.
> aDataStream
> + 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...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20161117/85c89b6c/attachment.html>
More information about the Squeak-dev
mailing list
|