diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-23 17:38:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-23 17:38:38 +0800 |
commit | 61d9a99cb32487defbf72486d079e9c7324e4e51 (patch) | |
tree | dc1f81dfb50ac5e0254ededb101611f8bf48c6ac /script/vm/function.lua | |
parent | 5d46db21e707be3b23655ef7fc1dfc41c36464a2 (diff) | |
download | lua-language-server-61d9a99cb32487defbf72486d079e9c7324e4e51.zip |
update
Diffstat (limited to 'script/vm/function.lua')
-rw-r--r-- | script/vm/function.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/function.lua b/script/vm/function.lua index e8fadb38..6c07acf6 100644 --- a/script/vm/function.lua +++ b/script/vm/function.lua @@ -62,6 +62,7 @@ function vm.countParamsOfNode(node) for n in node:eachObject() do if n.type == 'function' or n.type == 'doc.type.function' then + ---@cast n parser.object local fmin, fmax = vm.countParamsOfFunction(n) if not min or fmin < min then min = fmin |