diff options
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 10 |
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 +]] |