diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-26 17:12:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-26 17:12:27 +0800 |
commit | 40e0d3595961913aff0405369ddc9cbec2f743d1 (patch) | |
tree | b8f10f6cbe5b9453745545424cca94a18ada6b0c /test/hover/init.lua | |
parent | c7184a917f20ce386e4c3ac7cbfa3c32d7180358 (diff) | |
download | lua-language-server-40e0d3595961913aff0405369ddc9cbec2f743d1.zip |
fix #753
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 0a05e1cc..36fbd6d2 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1714,3 +1714,12 @@ local t: A<string, number> { y: number, } ]] + +TEST [[ +---@return nil +local function <?f?>() end +]] +[[ +function f() + -> nil +]] |