<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 11, 2016 at 9:56 PM,  <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Chris Muller uploaded a new version of Kernel to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Kernel-cmm.1049.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Kernel-cmm.1049.mcz</a><br><br>
Give ReferenceStream the ability to serialize objects whose behaviors were extended via #primitiveChangeClassTo:.<br></blockquote><div><br></div><div>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?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=============== Diff against Kernel-nice.1048 ===============<br>        | cntInstVars cntIndexedVars |<br>
<br>
        cntInstVars := self class instSize.<br>
        cntIndexedVars := self basicSize.<br>
        aDataStream<br>
+               beginInstance: self xxxClass<br>
-               beginInstance: self class<br>
                size: cntInstVars + cntIndexedVars.<br></blockquote><div><br></div><div>I find the choice of xxxClass pretty odd. But maybe I can understand better if you could give an example how you use it.</div><div><br></div><div>- Bert - </div></div></div></div>