<div dir="ltr">And that's why it's still appreciated. :)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 14, 2023 at 1:47 PM Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
On 3/13/2023 8:41 PM, Alexandre Rousseau wrote:
<blockquote type="cite">
<div dir="ltr">I looked at the commit ...
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"> aMorph == self
ifTrue: [^ self error: 'cannot be own submorph'].</font></blockquote>
<div><br>
</div>
<div>but this will not save me from a more insidious mistake
such as ...</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">m1 = Morph new.<br>
m2 = Morph new.<br>
m3 = Morph new.</font></blockquote>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">m1 addSubmorph:
m2.<br>
</font><font face="monospace">m2 addSubmorph: m3.<br>
</font><font face="monospace">m3 addSubmorph: m1.</font></blockquote>
</div>
<div>
<div><br>
</div>
</div>
<div>Anyway, I didn't want to complicate your life/lives.
Thanks for this. It will help reduce some mistakes.</div>
<div><br>
</div>
<div>A.</div>
<br>
</div>
</blockquote>
<br>
Right. But a single test for identity is quick, while a validation
of the whole tree structure could get pretty expensive. That's why I
didn't add it.<br>
<br>
Thanks,<br>
<pre cols="72">--
Juan Vuletich
<a href="http://cuis.st" target="_blank">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
</div>
</blockquote></div>