summaryrefslogtreecommitdiff
path: root/script/vm/function.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-08-01 15:42:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-08-01 15:42:23 +0800
commita2631611a5ebf2719577eab634b91ca5dabed148 (patch)
tree1d7515f31013256af13e80eee6a345e31c56e289 /script/vm/function.lua
parentf61b07064b4bac22778d8c5975aef881a1706ce1 (diff)
downloadlua-language-server-a2631611a5ebf2719577eab634b91ca5dabed148.zip
wrong commits
Diffstat (limited to 'script/vm/function.lua')
-rw-r--r--script/vm/function.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/function.lua b/script/vm/function.lua
index 148211be..f64b2262 100644
--- a/script/vm/function.lua
+++ b/script/vm/function.lua
@@ -201,7 +201,7 @@ end
---@return parser.object[]
function vm.getMatchedFunctions(func, args, mark)
local funcs = {}
- local node = vm.getNode(func) or vm.compileNode(func)
+ local node = vm.compileNode(func)
for n in node:eachObject() do
if n.type == 'function'
or n.type == 'doc.type.function' then