summaryrefslogtreecommitdiff
path: root/script-beta/vm/getLibrary.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 16:20:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 16:20:12 +0800
commit68f6df0181c8c5e499b571c0447af9203d3fd6d9 (patch)
tree6d44c1dfd98a57e01ca1482deb4cc8206ddb9c33 /script-beta/vm/getLibrary.lua
parent8fdeec14b4a90e1f15ed639ebc7b7b423e100424 (diff)
downloadlua-language-server-68f6df0181c8c5e499b571c0447af9203d3fd6d9.zip
整理代码
Diffstat (limited to 'script-beta/vm/getLibrary.lua')
-rw-r--r--script-beta/vm/getLibrary.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getLibrary.lua b/script-beta/vm/getLibrary.lua
index 34047805..69bc3f2b 100644
--- a/script-beta/vm/getLibrary.lua
+++ b/script-beta/vm/getLibrary.lua
@@ -49,7 +49,7 @@ end
local function getNodeAsObject(source)
local node = source.node
- local values = vm.getValue(node)
+ local values = vm.getInfers(node)
if not values then
return nil
end