[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to find unused local variables?
- From: Enrico Tassi <gareuselesinge@...>
- Date: Mon, 19 May 2008 10:10:12 +0200
On Sun, May 18, 2008 at 02:40:42PM -0400, Norman Ramsey wrote:
> Does anyone have suggestions for how to identify unused local variables?
> (Remember that to be unused, a local variable must not be used as an
> upvalue, either.)
IIRC metalua has a module to do that check (but work on the abstract
syntax I think, not on the bytecode), but I've never tried it,
nor packaged it :-(
I always feel the same need for locals, thus feedback is appreciated :-)
Cheers
--
Enrico Tassi