lua-users home
lua-l archive

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


> - <localonly>: an error is raised when accessing an upvalue too (so
> local variables only are allowed, it is similar to the noupvalues by
> Sergey)
I try "do <localonly>".It is not similar to noupvalues. It is like
pure function more.
I think patch with pure fuction was too vicious in many cases.
So noupvalues more friendly. It simply hides all upvalues except _ENV.
But now I cann't say what kind is better.