[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thoughts on new syntax for toclose
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 22 May 2019 10:11:41 -0300
> > There's also <const> as well. But you can't combine them:
>
> Sources say you needn't:
>
> https://github.com/lua/lua/blob/d9f40e3f6fb61650240c47d548bee69b24b07859/lparser.c#L1679
The manual also says that:
3.3.8 – To-be-closed Variables
[...]
A to-be-closed variable behaves like a constant local variable, [...]
-- Roberto