Dead code analysis in Daml?

Does the Daml compiler have any support for dead code analysis? Can I get warnings somehow?

The compiler warns about unused variables. What other kind of code do you consider “dead”?

That’s good enough. I’m not using the VScode plugin so these are somehow getting lost.