summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-26 11:04:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-26 11:04:16 +0800
commitc268c130f7eaa493296357b1bd0ce14eb67626a2 (patch)
treec680fd1d99022a33f040d9ee29f35063010db403 /test-beta
parent67f0fb20a3acb616cd700a2cd77afd616a68868d (diff)
downloadlua-language-server-c268c130f7eaa493296357b1bd0ce14eb67626a2.zip
in和loop支持doc.param
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/hover/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index ac38edb5..119e1ee1 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -939,7 +939,6 @@ end
local t: Class
]]
-do return end
TEST [[
---@class Class
@@ -948,7 +947,7 @@ for <?k?> in pairs(t) do
end
]]
[[
-local k<key>: Class {}
+local k: Class
]]
TEST [[
@@ -959,9 +958,10 @@ for k, <?v?> in pairs(t) do
end
]]
[[
-local v<value>: *Class {}
+local v: Class
]]
+do return end
TEST [[
---@return A|B
---@return C