summaryrefslogtreecommitdiff
path: root/test/definition/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/definition/luadoc.lua')
-rw-r--r--test/definition/luadoc.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index 65ded319..34d24cf2 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -645,3 +645,10 @@ TEST [[
local z
z.<?a?>
]]
+
+TEST [[
+---@type { <!x: number!>, y: number }
+local t
+
+print(t.<?x?>)
+]]