lua-users home
lua-l archive

Re: Lua 5.4 alpha: (yet more) toclose feedback

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


> 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

AltStyle によって変換されたページ (->オリジナル) /