lua/testes
Roberto Ierusalimschy 63295f1f7f 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.
2020-06-01 15:07:58 -03:00
..
libs Details 2019-07-18 15:31:22 -03:00
all.lua Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
api.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
attrib.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
big.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
bitwise.lua Subtraction of small constant integers optimized with OP_ADDI 2019-09-24 14:34:52 -03:00
bwcoercion.lua Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
calls.lua Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
closure.lua Removed internal cache for closures 2018-11-01 13:21:00 -03:00
code.lua Changed internal representation of booleans 2020-01-06 11:38:31 -03:00
constructs.lua Change in the syntax of attributes 2019-07-30 12:18:19 -03:00
coroutine.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
cstack.lua C-Stack test does not assume minimum of 400 slots 2020-05-04 14:17:15 -03:00
db.lua Details 2020-02-27 12:59:22 -03:00
errors.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
events.lua Details 2020-02-27 12:59:22 -03:00
files.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
gc.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
gengc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
goto.lua Change in the syntax of attributes 2019-07-30 12:18:19 -03:00
heavy.lua Added file 'testes/heavy.lua' 2018-12-14 13:49:02 -02:00
literals.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
locals.lua Fixed two bugs in to-be-closed variables x constants 2020-06-01 15:07:58 -03:00
main.lua Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
math.lua Details 2020-02-27 12:59:22 -03:00
nextvar.lua Details 2020-02-27 12:59:22 -03:00
packtests Script 'packtests' gets Lua version as a parameter 2019-10-02 17:04:06 -03:00
pm.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
sort.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
strings.lua Fixed bug in 'string.format("%p")' 2020-03-16 14:13:13 -03:00
tpack.lua Optional 'init' argument to 'string.gmatch' 2019-01-08 14:22:32 -02:00
utf8.lua Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
vararg.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
verybig.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00