June 30, 2016
4:26 p.m.
On 30 Jun 2016, at 14:57, John Brant <brant@refactoryworkers.com> wrote:
On 06/30/2016 03:17 AM, Marcus Denker wrote:
I added a new Code-Critic rule "RBDeadBlockRule", with
initialize super initialize. self matcher matches: '`{:node | node isBlock and: [node parent isSequence and: [ node isLastStatementInBlock not ]]}' do: [ :node :answer | node ]
Instead of "node parent isSequence and: [ node isLastStatementInBlock not ]", you can use "node isUsed not".
Nice! I have submitted a patch to change it. Marcus