|
Roberto Ierusalimschy wrote:
There are no hidden details; just follow rules (1) & (2). That is what the compiler will do.
So, always if I understand correctly, a function definition: function f() body end would be the equivalent of: _ENV.f = function() body endin which case, wouldn't setting _ENV = nil (to forbid assignment to globals) also prevent the definition of functions?
Enrico