We should move functions from dc_cmod to the top-level of DeadCodeDetector module. This will make dc_cmod more readable, which is currently contained of 426 loc. This also will allow us to comment each of the nested functions.
All dedup_* functions should be removed; lists should be replaced by Map and Set modules. To do this, we'll need to introduce comparator functions to Identifier modules as is done here.
Add file-level documentation to make it consistent with the other source files in the repository.
Run codespell on it, fix weird phrases in comments like ADT type.
DeadCodeDetector
module should be refactored:DeadCodeDetector
module. This will makedc_cmod
more readable, which is currently contained of 426 loc. This also will allow us to comment each of the nested functions.Map
andSet
modules. To do this, we'll need to introduce comparator functions toIdentifier
modules as is done here.codespell
on it, fix weird phrases in comments likeADT type
.