summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-08-17 19:18:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-08-17 19:18:56 +0800
commitaa9333820f557ae96ca3c05c71db6d7ba51ccf95 (patch)
tree228e9184c00b7727e15159e8864d4f09209a1ac3 /meta/template
parent828bb2a45c3cdcf241f121baff13db9f2ec94848 (diff)
downloadlua-language-server-aa9333820f557ae96ca3c05c71db6d7ba51ccf95.zip
fix #1476
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/basic.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 552aa9db..ee277b75 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -9,7 +9,8 @@ arg = {}
---@param v? T
---@param message? any
---@return T
-function assert(v, message) end
+---@return ...
+function assert(v, message, ...) end
---@alias gcoptions
---|>'"collect"' # ---#DESTAIL 'cgopt.collect'