diff options
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 |