summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2024-01-20 08:44:03 +0800
committerfesily <fesil@foxmail.com>2024-01-20 08:44:03 +0800
commit155f831624639c611891a3c1390ce3b19e92888b (patch)
treed9c98b037a9b7cad02a5102a0587496ce3335959 /script
parent82c004e0ba166deaca282d2d6cfb8819eb830830 (diff)
downloadlua-language-server-155f831624639c611891a3c1390ce3b19e92888b.zip
remove unused
Diffstat (limited to 'script')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 0 insertions, 1 deletions
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