grain icon indicating copy to clipboard operation
grain copied to clipboard

Add dead code warning

Open ospencer opened this issue 1 year ago • 1 comments

It'd be great if we warned when code appeared in a function after a return statement.

ospencer avatar Jan 29 '24 16:01 ospencer

It would be nice if this was able to warn about dead code surrounding, fail and throw as well. Also would be nice if it could warn about after sys.process.exit() but I think getting that right is more complex.

spotandjake avatar Jan 29 '24 17:01 spotandjake