From f8cd1220147d606b7e96f88c12fd0f163fb4e1c5 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 31 May 2024 11:44:23 +0800 Subject: fix spread exp list in up-value function issue. --- spec/outputs/upvalue_func.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/outputs/upvalue_func.lua b/spec/outputs/upvalue_func.lua index e66eefa..3181adf 100644 --- a/spec/outputs/upvalue_func.lua +++ b/spec/outputs/upvalue_func.lua @@ -264,7 +264,7 @@ local _anon_func_8 = function(itemB, listB) end return false end -local _anon_func_9 = function(listA, listB, pairs) +local _anon_func_9 = function(listA, listB) local _tab_0 = { } local _idx_0 = #_tab_0 + 1 for _index_0 = 1, #listA do @@ -403,7 +403,7 @@ GameEngine:onUpdate(function(deltaTime) if (itemB ~= nil) and _anon_func_8(itemB, listB) then print("item in list") end - func(_anon_func_9(listA, listB, pairs)) + func(_anon_func_9(listA, listB)) func(_anon_func_10(), _anon_func_11(pairs, tb)) func(_anon_func_12()) func(_anon_func_13(pairs, tb)) -- cgit v1.2.3-55-g6feb