diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-05-11 15:39:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2024-05-11 15:50:58 +0800 |
commit | eda74fd47141b3dc3273031dc558d8635065ecd9 (patch) | |
tree | 8fbbadeef30223971e98713c8cd1c0ec5171aaff /script/vm | |
parent | 6347eea96838de9d643e2a4cd4495bbe0026f185 (diff) | |
download | lua-language-server-eda74fd47141b3dc3273031dc558d8635065ecd9.zip |
暂存-转到实现
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/function.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/function.lua b/script/vm/function.lua index c6df6349..dde8ecb2 100644 --- a/script/vm/function.lua +++ b/script/vm/function.lua @@ -337,7 +337,7 @@ function vm.getMatchedFunctions(func, args, mark) local funcs = {} local node = vm.compileNode(func) for n in node:eachObject() do - if (n.type == 'function' and not vm.isVarargFunctionWithOverloads(n)) + if n.type == 'function' or n.type == 'doc.type.function' then funcs[#funcs+1] = n end |