Closed
Description
Currently, any code which is not reachable is considered dead and warned about, even if there are references to it from other dead code. Thus if I implement a tree of functions/methods which call each other, but haven't yet implemented any code to actually call into it yet, every single function in the family will produce a dead code warning, not only the root functions that actually lack any textual references. This is annoyingly verbose.
As a comparison, Clang and GCC only produce warnings for the roots in the equivalent situation for C code.