<div dir="ltr">On 6 January 2013 20:15, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">&gt; Hint: in Pharo 1.4 sending #class is not magic any more and it can be<br>
&gt; overriden, so proxies and write-barriers can be even more transparent.<br>
<br>
</div>That&#39;s great I&#39;d love to get rid of #maOriginalClass.  Do you know how<br>
the &quot;magic&quot; was removed?<br></blockquote><div><br></div><div style><br></div><div style>Object&gt;&gt;class<br></div><div><span class="" style="white-space:pre">        </span>&quot;Primitive. Answer the object which is the receiver&#39;s class. Essential. See </div>
<div><span class="" style="white-space:pre">        </span>Object documentation whatIsAPrimitive.&quot;</div><div><br></div><div><span class="" style="white-space:pre">        </span>&lt;primitive: 111&gt;</div><div><span class="" style="white-space:pre">        </span>self primitiveFailed </div>
</div><br><br>So the magic is still there, it&#39;s just that #class is not inlined by the VM any more and can be overriden. Which is great.<br><br clear="all"><div><br></div>-- <br>Milan Mimica<br><a href="http://sparklet.sf.net">http://sparklet.sf.net</a>
</div></div>