[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: multiple local definitions in the same scope
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 20 Apr 2007 08:09:58 -0300
> Or, perhaps, to have a lint for Lua [...] One that would warn [...]
> against functions with parameters of identical names [...] and
> multiple identical local declarations
You can do that easily with 'luac -p -l -l' and looking for identical or
overlaping entries in the "locals" block. --lhf