summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/definition/luadoc.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index 5315b5fd..314af605 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -341,3 +341,16 @@ function Foo:<!bar1!>() end
local v1
print(v1[1][1].<?bar1?>)
]]
+
+TEST [[
+---@class X
+
+---@class Y
+---@field <!a!> string
+
+---@class Z:X, Y
+
+---@type Z
+local z
+z.<?a?>
+]]