lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Aug 27, 2013, at 2:41 AM, steve donovan <steve.j.donovan@gmail.com> wrote:

> On Tue, Aug 27, 2013 at 10:55 AM, Thijs Schreijer
> <thijs@thijsschreijer.nl> wrote:
>> ZeroBrane Studio code analysis does a good job at finding shadowing variable
>> definitions (as well as unintended globals).
> 
> That really is the most sensible way to go - do it as early as
> possible using a suitable IDE.
> 
> I will update lglob to add this kind of check, for those who prefer to
> use a plain editor.
> 

While smart editors are good, it's also a good idea to be able to catch these kinds of things as warnings during a build imho.

--Tim