[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Common Lua (Logic/Style etc) Errors Detectable Through Static Analysis
- From: GrayFace <sergroj@...>
- Date: Thu, 17 Feb 2011 20:46:03 +0600
On 15.02.2011 20:31, Jon Akhtar wrote:
I am looking for more, so I thought I would ask the list for some suggestions.
Here are two more things:
1) Use of global variable that isn't accessed from the main chunk. This
is for scripts where all functions are in upvalues.
2) Access to globals or table members that defer from standard functions
by 1 symbol, e.g. "table.sart".
It would be nice to have special comments in code that turn on/off
specific checks.
--
Best regards,
Sergey Rozhenko mailto:sergroj@mail.ru