[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Defer statement patch for Lua 5.4
- From: Dibyendu Majumdar <mobile@...>
- Date: Mon, 20 Jul 2020 11:21:14 +0100
On Mon, 20 Jul 2020 at 11:11, Sergey Kovalev <kovserg33@gmail.com> 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..." ( http://lua-users.org/lists/lua-l/2020-07/msg00225.html )
>
> 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
happen.
Maybe there is some technical reason why this cannot be avoided, I do
not know yet.
> сб, 18 июл. 2020 г. в 02:41, Dibyendu Majumdar <mobile@majumdar.org.uk>:
> > I am pleased to announce an initial version of the 'defer' statement
> > patch of Lua 5.4 is available at
> > https://github.com/dibyendumajumdar/ravi/blob/master/patches/defer_statement_for_Lua_5_4.patch.