Closed Frityet closed 5 months ago
Hi, thanks for reporting! Yes, reports of failures in the next
branch are especially welcome!
minimal repro (must be saved with .lua
extension)
local mypairs = function(t)
end
for k, v in mypairs(t) do
print(k, v)
end
also reproducible in .tl
mode as:
local function f()
end
for k, v in f(t) do
end
Should be fixed now! Thank you for reporting!!
Thank you so much!
Trace:
This is running on Lua 5.4 on MacOS.
Trying to run
tl gen
instead oftl run
results in this trace:Offending code:
Running with
0.15.3
works, and this isn't a big deal cause it does work on the main branch, but I just thought it would be important to report