I think penlight is being too strict here, "if foo.bar then <do something with foo.bar> end" is a fairly common idiom.
-- Fabio Mascarenhas On Thu, Dec 2, 2010 at 10:56 AM, Thijs Koerselman <thijskoersel...@gmail.com> wrote: > Hi, > The Penlight strict module seems to break Orbit/Xavante. Is there any way to > make this compatible? I've tried commenting out the code leading to the > initial error, but it still breaks Xavante somewhere else. This is the > initial error I get: > Xavante Error: ...audiomodule/sandbox/share/lua/5.1//xavante/httpd.lua:182: > variable 'cookies' is not declared > thread: 0x1003375a0 > tcp{client}: 0x101018c28 > I find strict mode very useful for preventing myself from making stupid > mistakes. Is there maybe another Xavante compatible way to prevent typo > inflicted headaches? > Thijs > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/