Fixed wrong trace of vararg functions
Trace of vararg functions was skipping an instruction when returning from a call. (Bug introduced by commit 5d8ce05b3.)
This commit is contained in:
@@ -119,6 +119,16 @@ else
|
||||
end
|
||||
]], {2,3,4,7})
|
||||
|
||||
test([[
|
||||
local function foo()
|
||||
end
|
||||
foo()
|
||||
A = 1
|
||||
A = 2
|
||||
A = 3
|
||||
]], {2, 3, 2, 4, 5, 6})
|
||||
|
||||
|
||||
test([[--
|
||||
if nil then
|
||||
a=1
|
||||
|
||||
Reference in New Issue
Block a user