diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:03:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:03:00 +0800 |
commit | f3019c63409b7bdadb0b7ecedfd3b90a0b29397b (patch) | |
tree | 8e146b317d3dccbbf2df5d180f60c8b79e9b3e6c /test/diagnostics/common.lua | |
parent | 4774c8ce50f0c971f9e9efde44c083c606f3105a (diff) | |
download | lua-language-server-f3019c63409b7bdadb0b7ecedfd3b90a0b29397b.zip |
supports `---@return ...`
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r-- | test/diagnostics/common.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 5e65b410..de2481a6 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1727,6 +1727,13 @@ function F() end ]] +TEST [[ +---@return ... +function F() + return +end +]] + do return end TEST [[ ---@return number |