From 61d9a99cb32487defbf72486d079e9c7324e4e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 23 Jun 2022 17:38:38 +0800 Subject: update --- script/vm/function.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/vm/function.lua') 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 -- cgit v1.2.3