<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 3/13/2023 8:41 PM, Alexandre Rousseau wrote:
    <blockquote
cite="mid:CAKmOayLVigthxY1skCxBZJx2uj4aCabgf3b=6n9dfDARQiE=pw@mail.gmail.com"
      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 class="moz-signature" cols="72">-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
  </body>
</html>