June 30, 2016
12:57 p.m.
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". John Brant