Fixed dangling 'StkId' in 'luaV_finishget'

Bug introduced in 05932567.
This commit is contained in:
Roberto Ierusalimschy committed 2024-03-29 15:10:50 -03:00
1 parent 86a8e74824
commit 88a50ffa71
5 files changed
+42 -26

No files matched your search

+9
View File
@@ -248,6 +248,15 @@ end
test(Op(1), Op(2), Op(3))
do -- test nil as false
local x = setmetatable({12}, {__eq= function (a,b)
return a[1] == b[1] or nil
end})
assert(not (x == {20}))
assert(x == {12})
end
-- test `partial order'
local function rawSet(x)