Just stepped into it. Thanks<br><br><div class="gmail_quote">On Mon, Mar 22, 2010 at 11:57, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div class="h5">On Mon, 22 Mar 2010, <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alexander Lazarevi&amp;#263; uploaded a new version of Kernel to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Kernel-laza.428.mcz" target="_blank">http://source.squeak.org/trunk/Kernel-laza.428.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Kernel-laza.428<br>
Author: laza<br>
Time: 22 March 2010, 11:47:56.242 am<br>
UUID: 5b1e683b-2d8c-4f21-b877-30e2426f1491<br>
Ancestors: Kernel-ul.427<br>
<br>
Order instance variables alphabetically<br>
<br>
=============== Diff against Kernel-ul.427 ===============<br>
<br>
Item was changed:<br>
 ----- Method: Object&gt;&gt;longPrintOn:limitedTo:indent: (in category &#39;printing&#39;) -----<br>
 longPrintOn: aStream limitedTo: sizeLimit indent: indent<br>
        &quot;Append to the argument, aStream, the names and values of all of the receiver&#39;s instance variables.  Limit is the length limit for each inst var.&quot;<br>
<br>
+       self class allInstVarNames asSortedArray doWithIndex:<br>
-       self class allInstVarNames doWithIndex:<br>
                [:title :index |<br>
                indent timesRepeat: [aStream tab].<br>
                aStream nextPutAll: title;<br>
                 nextPut: $:;<br>
                 space;<br>
                 tab;<br>
                 nextPutAll:<br>
                        ((self instVarAt: index) printStringLimitedTo: (sizeLimit -3 -title size max: 1));<br>
                 cr]!<br>
</blockquote>
<br></div></div>
This won&#39;t work, because only the names are changed the indices are the same, so #instVarAt: will give the wrong value. Also #asSortedArray should be deprecated IMHO.<br>
<br>
<br>
Levente<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br>