lua-users home
lua-l archive

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

On Mon, 20 Jul 2020 at 11:11, Sergey Kovalev <> wrote:
> "...Lua does not distinguish between stack errors and other errors when
> calling the closing method, so any error while running it will call it
> again..." ( )
> defer and <close> should not be used until "called twice" will be
> fixed. This behaviour is unacceptable.

Hi, I have not yet been able to pinpoint exactly which piece of code
in 5.4 is doing this ... in my 'defer' patch for 5.3 this does not
Maybe there is some technical reason why this cannot be avoided, I do
not know yet.

> сб, 18 июл. 2020 г. в 02:41, Dibyendu Majumdar <>:
> > I am pleased to announce an initial version of the 'defer' statement
> > patch of Lua 5.4 is available at
> >