mvdan/goreduce

cleanup: remove dead assignments

mvdan opened this issue · 1 comments

mvdan commented

We could have a rule for this too, but this would be a good shortcut.

mvdan commented

On second thoughts, shortcuts aren't safe as they might stop triggering compiler bugs and even change the runtime behaviour.

The rule that removes statements should take care of this.