summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-20 16:25:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-20 16:25:12 +0800
commit8c9fef46b8592ed5cd043b8b922a40ab414d3598 (patch)
treede7874717a8554f02828aadd19f0cd2951f54534 /server/test
parentc16e3da5a1f1944d4d2f7cea49bf05c20b9311ab (diff)
downloadlua-language-server-8c9fef46b8592ed5cd043b8b922a40ab414d3598.zip
#51
Diffstat (limited to 'server/test')
-rw-r--r--server/test/hover/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index c6e01f25..f1a18c06 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -760,6 +760,15 @@ local r: boolean
]]
TEST [[
+---@param f fun():void
+function t(<?f?>) end
+]]
+[[
+function ()
+ -> any
+]]
+
+TEST [[
---@param names string[]
local function f(<?names?>)
end