Hi All,<div><br></div><div> I just stumbled across a bug of mine which is a rare but easy-to-make slip, that of an unused block, e.g. expr ifTrue: [[something that doesn't get done]]. Here's a check for it (I'll check it in as a SysdtemNavigation method and perhaps the RB includes it in its lint tests). There's one method in Squeak trunk that falls foul of this.</div>
<div><br></div><div>"Scan for the byte following each block creation being the pop bytecode."</div><div><div>SystemNavigation new browseAllSelect:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>[:m| | is |</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>is := InstructionStream on: m.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>is scanFor: [:b| b = 143 and: [(m at: is thirdByte * 256 + is fourthByte + is pc + 4) = 135]]]</div>
</div>