[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Assignment statement does not evaluate all its expressions first
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 22 Sep 2021 14:24:12 -0300
> As stated in the manual at https://www.lua.org/manual/5.4/manual.html#3.3.3
> the assignment statement should first evaluate all its expressions and only
> then the assignments should be performed.
> However, this seems to not always be the case.
> Am I missing something from the manual or is this a bug?
This is a bug. Thanks for the report. The question now is whether we
fix the implementation or the manual.