<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-05-12 20:30 GMT+02:00  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Eliot Miranda uploaded a new version of Compiler to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Compiler-eem.280.mcz" target="_blank">http://source.squeak.org/trunk/Compiler-eem.280.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Compiler-eem.280<br>
Author: eem<br>
Time: 12 May 2014, 11:29:30.127 am<br>
UUID: f8e06e2d-2a56-40e8-9783-6b17b6ca0e2e<br>
Ancestors: Compiler-nice.279<br>
<br>
Get rid of the old<br>
        ([:a :b|] value: #first value: #last) == #last<br>
anachronism.  Now all empty blocks answer nil.<br>
<br>
=============== Diff against Compiler-nice.279 ===============<br>
<br>
Item was changed:<br>
  ----- Method: BlockNode&gt;&gt;arguments:statements:returns:from: (in category &#39;initialize-release&#39;) -----<br>
  arguments: argNodes statements: statementsCollection returns: returnBool from: encoder<br>
        &quot;Compile.&quot;<br>
<br>
        arguments := argNodes.<br>
        statements := statementsCollection size &gt; 0<br>
+                                       ifTrue: [statementsCollection]<br>
+                                       ifFalse: [Array with: NodeNil].<br>
-                               ifTrue: [statementsCollection]<br>
-                               ifFalse: [argNodes size &gt; 0<br>
-                                               ifTrue: [statementsCollection copyWith: arguments last]<br>
-                                               ifFalse: [Array with: NodeNil]].<br>
        optimized := false.<br>
        returns := returnBool!<br>
<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Yeah, it even simplifies the code, so there is really no reason not to do it.<br></div><div class="gmail_extra">If ever someone complains that we dropped backward compatibility, we can now tell: you should not rely on undefined behavior<br>
(a very popular sentence in {} world)<br></div></div>