summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r--test/hover/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index cc2fcea8..f70c8a05 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1476,3 +1476,16 @@ local v: Object {
a: string,
}
]]
+
+--TEST [[
+-----@class C
+-----@field x string
+--local t
+--
+--local <?v?> = assert(t)
+--]]
+--[[
+--local v: C {
+-- x: string,
+--}
+--]]