lua-users home
lua-l archive

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


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