|
|
||
|
Is this fix also relevant to vanilla 5.1w4?
Yes. Patch below.
Minimum test case, derived from Mark Hamburg's example:
function v(f, ...) print("test", f() ~= 1 and "FAILED" or "OK") end local x = 1 return v(function() return x end)
My RVM patch has been updated, too. New patch+patched distro has been uploaded to the Wiki.
[snip]
I've checked, and this fix made it to 5.1w5.
Thanks, --Adam -- Adam D. Moss - adam@gimp.org