summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-05 20:06:08 +0800
committersumneko <sumneko@hotmail.com>2019-05-05 20:06:08 +0800
commit6b95bb52f39082e9df605a954cb6a16d75b9611c (patch)
treec425335076a50e90f28f3c42ab825fb6c042c13b /server/test
parente00842cf43b6d2e2ff3900db32d3aa4e18a8f800 (diff)
downloadlua-language-server-6b95bb52f39082e9df605a954cb6a16d75b9611c.zip
emmyFunctionçš„hover
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 1c4809a6..baed3912 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -721,3 +721,12 @@ end
[[
local k: *ClassA
]]
+
+TEST [[
+---@type fun(x: number, y: number):boolean
+local <?f?>
+]]
+[[
+function f(x: number, y: number)
+ -> boolean
+]]