[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: strict.lua
- From: Petite Abeille <petite.abeille@...>
- Date: Thu, 29 Mar 2012 23:02:44 +0200
On Mar 29, 2012, at 9:56 PM, Steve Litt wrote:
> So here's what I did…
Alternatively:
% lua -l strict Test.lua
lua: Test.lua:1: variable 'bar' is not declared
stack traceback:
[C]: in function 'error'
./strict.lua:37: in function '__index'
Test.lua:1: in main chunk
[C]: in ?
In other words, don't require strict in your code, but instead load it when appropriate during your development cycle, courtesy of lua -l.