aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2024-05-31 11:44:23 +0800
committerLi Jin <dragon-fly@qq.com>2024-05-31 11:44:23 +0800
commitf8cd1220147d606b7e96f88c12fd0f163fb4e1c5 (patch)
treeed7bd7cfe778a9a7d55c53cfca3ec6c6f869bdde /spec
parent1890294226034d27165af016c8c93a484d978b49 (diff)
downloadyuescript-f8cd1220147d606b7e96f88c12fd0f163fb4e1c5.tar.gz
yuescript-f8cd1220147d606b7e96f88c12fd0f163fb4e1c5.tar.bz2
yuescript-f8cd1220147d606b7e96f88c12fd0f163fb4e1c5.zip
fix spread exp list in up-value function issue.v0.23.8
Diffstat (limited to 'spec')
-rw-r--r--spec/outputs/upvalue_func.lua4
1 files changed, 2 insertions, 2 deletions
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)
264 end 264 end
265 return false 265 return false
266end 266end
267local _anon_func_9 = function(listA, listB, pairs) 267local _anon_func_9 = function(listA, listB)
268 local _tab_0 = { } 268 local _tab_0 = { }
269 local _idx_0 = #_tab_0 + 1 269 local _idx_0 = #_tab_0 + 1
270 for _index_0 = 1, #listA do 270 for _index_0 = 1, #listA do
@@ -403,7 +403,7 @@ GameEngine:onUpdate(function(deltaTime)
403 if (itemB ~= nil) and _anon_func_8(itemB, listB) then 403 if (itemB ~= nil) and _anon_func_8(itemB, listB) then
404 print("item in list") 404 print("item in list")
405 end 405 end
406 func(_anon_func_9(listA, listB, pairs)) 406 func(_anon_func_9(listA, listB))
407 func(_anon_func_10(), _anon_func_11(pairs, tb)) 407 func(_anon_func_10(), _anon_func_11(pairs, tb))
408 func(_anon_func_12()) 408 func(_anon_func_12())
409 func(_anon_func_13(pairs, tb)) 409 func(_anon_func_13(pairs, tb))