From 953944c5772762205b364bbcf29b913b024d8d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 23 Jun 2021 20:59:58 +0800 Subject: fix --- script/core/searcher.lua | 1 + script/pub/pub.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/script/core/searcher.lua b/script/core/searcher.lua index 83682743..7d728cb3 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -336,6 +336,7 @@ function m.searchRefsByID(status, uri, expect, mode) return false end + ---@return parser.guide.object? local function findLastCall() for i = #callStack, 1, -1 do local call = callStack[i] diff --git a/script/pub/pub.lua b/script/pub/pub.lua index 8c49a2d9..ba57e5cb 100644 --- a/script/pub/pub.lua +++ b/script/pub/pub.lua @@ -103,6 +103,7 @@ end --- 发布任务 ---@parma name string ---@param params any +---@return any function m.awaitTask(name, params) local info = { id = counter(), -- cgit v1.2.3