lua-users home
lua-l archive

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

On 23/07/18 15:21, Javier Guerra Giraldez wrote:
> it should actually work as is, just the second use of `i` shadowing
> the first one on the loop's scope, without affecting the final use.
> of course, lint-like tools would bark at you for this

Yeah, the scoping would have been fine, just the `i,j` instead of the
inefficient `1,#list` bit was the problem.