(local () (values))
Bad code generated - likely a bug with the compiler:
--- Generated Lua Start ---
local = nil
local ___i___ = 1
while true do
local name, value = debug.getlocal(1, ___i___)
if(name and name ~= "___i___") then
___replLocals___[name] = value
___i___ = ___i___ + 1
else break end end
return nil--- Generated Lua End ---
Also happens with other binding forms.
Good catch; thanks.
Fixed in 58ed229.