diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 17:33:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 17:33:32 +0800 |
commit | af0eba42be501bbbde95b15bcc8da191c21a9c1c (patch) | |
tree | 1613814ccf4de03249be581e93e82bc5079de225 /test | |
parent | 051df431b8f5bca83c129bba57960b371babb85d (diff) | |
download | lua-language-server-af0eba42be501bbbde95b15bcc8da191c21a9c1c.zip |
doc.type.function support vararg
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 7ed794d1..cd3313cb 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1418,3 +1418,11 @@ local c: C { field: any, } ]] + +TEST [[ +---@param callback fun(x: integer, ...) +local function f(<?callback?>) end +]] +[[ +function (x: integer, ...) +]] |