summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 63e2217b..0eba0f52 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1010,6 +1010,10 @@ local v: Class
]]
TEST [[
+---@class A
+---@class B
+---@class C
+
---@return A|B
---@return C
local function <?f?>()
@@ -1215,6 +1219,8 @@ local r: boolean
]]
TEST [[
+---@class void
+
---@param f fun():void
function t(<?f?>) end
]]