[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.4 alpha: (yet more) toclose feedback
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 23 Jun 2019 17:07:32 -0300
> Firstly, it had initially passed me by that <toclose> is only valid in
> single-variable local declarations. I'm curious what the rationale for
> this is, given the widespread use of multiple-return functions,
> including within 'toclose's primary usage example, io.open().
No specific rationale, it was just easier to implement. We will change
that.
-- Roberto