lua-users home
lua-l archive

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



Currently, I do the following to spot missing "local"s:

[...]
Have you checked the "strict" package?

http://lua-users.org/lists/lua-l/2005-08/msg00737.html
I hadn't seen that. Nice.

The reason why I like my locking solution is that it also plays nice with the module system:

module("test", package.seeall)
function f(y)
x = y * y
print(x)
end
lock(test)


// Niklas