diff options
Diffstat (limited to 'server/test/hover/init.lua')
-rw-r--r-- | server/test/hover/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index a3d56cdf..88bc13d5 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -779,6 +779,17 @@ function () ]] TEST [[ +---@type fun(a:any, b:any) +local f +local t = {f = f} +t:<?f?>() +]] +[[ +function f(b: any) + -> any +]] + +TEST [[ ---@param names string[] local function f(<?names?>) end |