[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: manual improvement for next() [WAS: How undefined is undefined behaviour?]
- From: Viacheslav Usov <via.usov@...>
- Date: Thu, 10 Jun 2021 20:26:43 +0200
On Thu, Jun 10, 2021 at 7:16 PM Pierpaolo Bernardi <olopierpa@gmail.com> wrote:
> This may be true for the implementation that you checked.
>
> What the language guarantees is: nothing.
This is illogical, because Lua is a versioned language, and each Lua
version is defined by the corresponding open-source implementation and
manual, modulo bugs.
For the record, the description I gave is based entirely on the manual
for Lua 5.4 (but either one could still have bugs).
It may also be correct for other versions of Lua, though.
Cheers,
V.