diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-20 14:20:18 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-20 14:20:18 +0800 |
commit | aa80daf9c9349bf8a4a3b6d6d957f3e423c60720 (patch) | |
tree | e2c9222778e34b778cdd488b2875b8825259b4af /server/test | |
parent | 44917f12bc6b38b68683dbeebdedc8fb479a4c00 (diff) | |
download | lua-language-server-aa80daf9c9349bf8a4a3b6d6d957f3e423c60720.zip |
#36 修正 EmmyParam 在查看函数时无效的问题
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index f31dfa03..dfd6dc78 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -623,6 +623,16 @@ local r: number ]] TEST [[ +---@param x number +---@param y boolean +local function <?f?>(x, y) +end +]] +[[ +function f(x: number, y: boolean) +]] + +TEST [[ ---@vararg Class local function f(...) local _, <?x?> = ... |