summaryrefslogtreecommitdiff
path: root/server/src/core/signature.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-29 15:33:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-29 15:33:47 +0800
commitc2762dc29612aa37aa19a0cf3f362449e44dc9f8 (patch)
treec828924cc6e54dd352ab67e2c0a4fff7d38d5173 /server/src/core/signature.lua
parent482b3f97443329ebb25b19c2a1152b7b6329a689 (diff)
downloadlua-language-server-c2762dc29612aa37aa19a0cf3f362449e44dc9f8.zip
更新写法
Diffstat (limited to 'server/src/core/signature.lua')
-rw-r--r--server/src/core/signature.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/signature.lua b/server/src/core/signature.lua
index 63c343eb..dd5e91bd 100644
--- a/server/src/core/signature.lua
+++ b/server/src/core/signature.lua
@@ -32,7 +32,7 @@ local function findCall(vm, pos)
if arg and arg.type == 'string' then
return nil
end
- local var = vm.results.sources[call.lastObj]
+ local var = call.lastObj.bind
if var then
results[#results+1] = {
func = call.func,