<br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 4:03 AM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Some kind of Heisenberg principle, you cannot observe a node without<br>
some sort of interaction ;).<br>
We should create a price for the best anti-pattern of the month.<br></blockquote><div><br></div><div>:)</div><div><br></div><div>it confused the hell out of me yesterday as i tried ti debug some compiler stuff.  It was the explorer that invoked printing and that wasn&#39;t obvious either :)</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It&#39;s invaluable for teaching.<br>
<br>
Nicolas<br>
<br>
2012/11/6  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt; Eliot Miranda uploaded a new version of Compiler to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Compiler-eem.239.mcz" target="_blank">http://source.squeak.org/trunk/Compiler-eem.239.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Compiler-eem.239<br>
&gt; Author: eem<br>
&gt; Time: 5 November 2012, 3:09:13.298 pm<br>
&gt; UUID: 074c58f2-bc92-4c3f-adff-56c47d3884ef<br>
&gt; Ancestors: Compiler-eem.238<br>
&gt;<br>
&gt; Eliminate horrible side-effect in printing whileTrue/whileFalse<br>
&gt; nodes that undid the tranformation to whileTrue:/whileFalse:.<br>
&gt;<br>
&gt; =============== Diff against Compiler-eem.238 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   ----- Method: MessageNode&gt;&gt;printWhileOn:indent: (in category &#39;printing&#39;) -----<br>
&gt;   printWhileOn: aStream indent: level<br>
&gt; -<br>
&gt;         self printReceiver: receiver on: aStream indent: level.<br>
&gt; +       self<br>
&gt; +               printKeywords: originalSelector<br>
&gt; +               arguments: originalArguments<br>
&gt; -       (arguments isEmpty not<br>
&gt; -        and: [arguments first isJust: NodeNil]) ifTrue:<br>
&gt; -                       [selector := SelectorNode new<br>
&gt; -                                                       key:<br>
&gt; -                                                                       (selector key == #whileTrue:<br>
&gt; -                                                                               ifTrue: [#whileTrue]<br>
&gt; -                                                                               ifFalse: [#whileFalse])<br>
&gt; -                                                       code: #macro.<br>
&gt; -                       arguments := Array new].<br>
&gt; -       self printKeywords: selector key arguments: arguments<br>
&gt;                 on: aStream indent: level!<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>