Hi there!
I'm creating a godbolt.org like service for Lua, and during my development I noticed that Luac 5.4.0 Beta (Oct 2019) does not
like the vararg operator enclosed in a new table.
I'm not sure if this is changed behaviour in 5.4 or if it has already been reported, however it causes a segmentation fault when
listing the instructions of a previously dumped chunk and that didn't seem like desired.
code:
local function lua540_beta_oct_2019_vararg(...)
local asTable = {...}; -- causes luac -p -l -l to crash
return asTable;
end
reproduce:
OS:
Thank you.
Bas Groothedde
Imagine Programming