Detector for unused variables

Namespace rswhite4 at googlemail.com
Mon Jul 30 09:43:39 PDT 2012


I wrote a short programm which detect and list unused variables.
I'm sure it isn't perfect but it passed most of my test cases, 
but I think at the moment it isn't good enough to present it in 
announce. Maybe some of you have interest to help me. IMO 
something like this should be integrated into the D compiler.

Comments, suggestions and critism are desirable.

Code: http://dpaste.dzfl.pl/c5f1d2ba
Some of my testcases: http://dpaste.dzfl.pl/f74da85e


More information about the Digitalmars-d-learn mailing list