[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [5.1.4/newbie] "attempt to index ... 'file' (a nil value)"?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 18 Feb 2011 11:59:32 -0200
> Best is to add a metatable to globals _G that errors on index.
See also etc/strict.lua which does this and more.