From 155f831624639c611891a3c1390ce3b19e92888b Mon Sep 17 00:00:00 2001 From: fesily Date: Sat, 20 Jan 2024 08:44:03 +0800 Subject: remove unused --- script/vm/compiler.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'script/vm/compiler.lua') diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 51931984..0fe2efe8 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1035,7 +1035,6 @@ end local function compileFunctionParam(func, source) -- local call ---@type fun(f: fun(x: number));call(function (x) end) --> x -> number local funcNode = vm.compileNode(func) - local hasDocArg for n in funcNode:eachObject() do if n.type == 'doc.type.function' then for index, arg in ipairs(n.args) do -- cgit v1.2.3