Fri May 3 15:06:26 CEST 2002
We are aware of the problem, and we will fix it in R9.
Despite this little problem, I find the warn_unused_vars option to
be usable and worth turning on. So far I have found one minor bug
and several cases of unnecessary code and unused function arguments
in my code (in both OTP code and Wings code).
When writing new code, the warnings helped me to find typos quicker
than the usual method of staring at the suspect code sequence.
"Vlad Dumitrescu" <> writes:
> I noticed that erl_lint does wrongly report variables as unused if they only
> appear as a generator in a list comprehension. For example,
> fun(X) -> [H || H <- X].
> reports X as unused.
> I would have loved to be able to send a patch, but these parts of the system
> I haven't yet gathered the courage to dig in ;-)
> Chatta med kompisar online, prova MSN Messenger: http://messenger.msn.com
Björn Gustavsson Ericsson Utvecklings AB
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions