lua-users home
lua-l archive

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


> [...]
> 
> ^ ***** to reiterate a previous post, it's really bad we need a
> separate line for this. I might as well just write f:close() at the
> end of the block. (It also throws off linters, which complain at the
> shadowing.) If nothing else changes about to-be-closed variables
> before Lua 5.4 final, I'd like at least this to be addressed.

This was addressed almost a month ago:

  http://lua-users.org/lists/lua-l/2019-06/msg00556.html

(See also commit 4d46289 in github.)

-- Roberto