[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lglob (was: Convenient undefined variable checking script)
- From: Petite Abeille <petite.abeille@...>
- Date: Tue, 29 Jan 2013 22:00:54 +0100
On Jan 29, 2013, at 9:04 PM, Petite Abeille <petite.abeille@gmail.com> wrote:
> Which I suspect are both false positives.
Couple more:
--8<--
do
local _ENV = {}
_NAME = 'BAZ'
function Foo() if _NAME then return end end
function Bar() Foo() end
end
-->8--
lglob: TestGlobal.lua:9: undefined get _NAME
lglob: TestGlobal.lua:10: undefined get Foo