summaryrefslogtreecommitdiff
path: root/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 16:17:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 16:17:52 +0800
commit788709d4e2a2ae1d412a0afcfddbfbce19d04099 (patch)
treea7445a7cf8aff0b5ac5c3511e6e2d38dc11057eb /test/definition
parent14f8d12a617e1a3ec0e3483cbae3447afa7a7aa8 (diff)
downloadlua-language-server-788709d4e2a2ae1d412a0afcfddbfbce19d04099.zip
#511 supports `doc.type.literaltable`
Diffstat (limited to 'test/definition')
-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?>)
+]]