[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 51w4 vararg tailcall + upvalue bug fix
- From: "Adam D. Moss" <adam@...>
- Date: Fri, 04 Mar 2005 19:37:40 +0000
Mike Pall wrote:
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.
I've checked, and this fix made it to 5.1w5.
Adam D. Moss - email@example.com