[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Locals by default yet again, sorry :)
- From: Sergey Kovalev <kovserg33@...>
- Date: Tue, 30 Jul 2019 17:36:36 +0300
> - <localonly>: an error is raised when accessing an upvalue too (so
> local variables only are allowed, it is similar to the noupvalues by
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.