Ticket #268 (closed enhancement: fixed)
optimise away redundant None and type checks
|Reported by:||scoder||Owned by:||scoder|
After implementing #233 and fixing #166, the syntax tree ends up with a couple of redundant None checks where method calls were optimised. The C compiler might be able to remove them in many cases, but there should still be a separate pass that removes the redundant checks right before the code generation phase.