|
We tried to restrict such uses. Basically, if you create a new function, you can set its environment. Otherwise, the function itself should be responsible for its own environment (using lexical environments).
Could environment be implemented as an unnamed upvalue?