summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-26 10:22:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-26 10:22:17 +0800
commit67f0fb20a3acb616cd700a2cd77afd616a68868d (patch)
tree5a5d8fa22c0d70fc47ea87ee595c89d523a6104f /test-beta
parent025fb18d576f2edb0863ab2d69f4f30db3fab835 (diff)
downloadlua-language-server-67f0fb20a3acb616cd700a2cd77afd616a68868d.zip
doc.param
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/hover/init.lua20
1 files changed, 3 insertions, 17 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index d1181771..ac38edb5 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -914,7 +914,6 @@ local x: Class {
}
]]
-do return end
TEST [[
---@class Class
local mt = {}
@@ -924,7 +923,7 @@ function f(<?t?>)
end
]]
[[
-local t: Class {}
+local t: Class
]]
TEST [[
@@ -937,23 +936,10 @@ function f(t)
end
]]
[[
-local t: *Class {}
-]]
-
-TEST [[
----@class Class
-local mt = {}
-
----@param t Class
-function f(t)
-end
-
-f(<?s?>)
-]]
-[[
-global s: Class {}
+local t: Class
]]
+do return end
TEST [[
---@class Class