|author||Roberto Ierusalimschy <email@example.com>||Mon Jun 01 15:07:58 2020 -0300|
|committer||Roberto Ierusalimschy <firstname.lastname@example.org>||Mon Jun 01 15:07:58 2020 -0300|
Fixed two bugs in to-be-closed variables x constants The parser were mixing compiler indices of variables with stack indices, so that when a to-be-closed variable was used inside the scope of compile-time constants (which may be optimized away), it might be closed in the wrong place. (See new tests for examples.) Besides fixing the bugs, this commit also changed comments and variable names to avoid that kind of confusion and added tests.