summaryrefslogtreecommitdiff
path: root/test-beta/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-26 14:55:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-26 14:55:45 +0800
commita12fec5c00f8b6f77aac845977c6c8aab36518bb (patch)
tree97fc16ec3e7321cd3dd065866a25749646cf2e25 /test-beta/hover
parentb899ea541c6186ed9c4a3f2cefbb502eb22b083a (diff)
downloadlua-language-server-a12fec5c00f8b6f77aac845977c6c8aab36518bb.zip
param.return
Diffstat (limited to 'test-beta/hover')
-rw-r--r--test-beta/hover/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index 119e1ee1..b3b6719d 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -961,7 +961,6 @@ end
local v: Class
]]
-do return end
TEST [[
---@return A|B
---@return C
@@ -970,9 +969,11 @@ end
]]
[[
function f()
- -> A|B, C
+ -> A|B
+ 2. C
]]
+do return end
TEST [[
---@generic T
---@param x T