Detector for unused variables

bearophile bearophileHUGS at lycos.com
Wed Aug 1 09:06:38 PDT 2012


Timon Gehr:

> No. This mustn't be part of the language.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=7989

I agree there are some problems. But not putting this warning in 
the default language means such problems will not be faced at the 
language level itself too. So maybe no good solutions will be 
found to those problems. So maybe it needs to be an integrated & 
well designed feature of D.


> This can be a warning at best.

The enhancement request is for a warning :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list