summaryrefslogtreecommitdiff
path: root/spec/outputs/switch.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-06-04 16:07:06 +0800
committerLi Jin <dragon-fly@qq.com>2025-06-04 16:07:06 +0800
commit0e72454a11f65d9ac800dedb698ddfcc15933785 (patch)
tree6cded6335c22c4dd204f7d3bc66efa0f76a41ef0 /spec/outputs/switch.lua
parent548ab1d9ff5b831050f14f1355a3314a41163ad6 (diff)
downloadyuescript-0e72454a11f65d9ac800dedb698ddfcc15933785.tar.gz
yuescript-0e72454a11f65d9ac800dedb698ddfcc15933785.tar.bz2
yuescript-0e72454a11f65d9ac800dedb698ddfcc15933785.zip
Added more reversed index support for slice. [skip CI]
Diffstat (limited to 'spec/outputs/switch.lua')
-rw-r--r--spec/outputs/switch.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/outputs/switch.lua b/spec/outputs/switch.lua
index 7a11bac..7c1004b 100644
--- a/spec/outputs/switch.lua
+++ b/spec/outputs/switch.lua
@@ -740,8 +740,8 @@ do
740 do 740 do
741 local _accum_0 = { } 741 local _accum_0 = { }
742 local _len_0 = 1 742 local _len_0 = 1
743 local _max_0 = -3 743 local _max_0 = #clientData + -3 + 1
744 for _index_0 = 1, _max_0 < 0 and #clientData + _max_0 + 1 or _max_0 do 744 for _index_0 = 1, _max_0 do
745 local _item_0 = clientData[_index_0] 745 local _item_0 = clientData[_index_0]
746 _accum_0[_len_0] = _item_0 746 _accum_0[_len_0] = _item_0
747 _len_0 = _len_0 + 1 747 _len_0 = _len_0 + 1