summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index dad32f14..780c1da8 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -2393,3 +2393,13 @@ local x = obj[''].<?x?>()
[[
(field) A.x: fun():string
]]
+
+TEST [[
+---@class A
+---@field x number
+
+---@see <?A.x?>
+]]
+[[
+(field) A.x: number
+]]