summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-07 17:39:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-07 17:39:19 +0800
commitc8b15870150034ca44fc28d373e52991855c5c98 (patch)
tree8be5bfd216d93e7ebca8cab89c25085b776bd260 /server/src/vm
parentfa58f9e95a55ac44b8dc3a489aadce607e1905da (diff)
downloadlua-language-server-c8b15870150034ca44fc28d373e52991855c5c98.zip
支持标签
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index 41015923..009de868 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -467,7 +467,7 @@ function mt:getSimple(simple, max)
local func = value
if object then
table.insert(values, 1, object)
- table.insert(args, 1, simple[i-1])
+ table.insert(args, 1, simple[i-3])
end
object = nil
source:bindCall(func, args)