summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 03:32:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 03:32:43 +0800
commit1407055930f23b06fbe9a6cc29cc9e54b1356783 (patch)
tree97b65707b0e4a434c9ce9e566453e03e4dfb6176 /test
parent8a14323f7da5a4ee5956c417a38a9a85665cf128 (diff)
downloadlua-language-server-1407055930f23b06fbe9a6cc29cc9e54b1356783.zip
fix definition of `table<k, v>`
Diffstat (limited to 'test')
-rw-r--r--test/definition/luadoc.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index d7ac9a5b..19b4421b 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -881,3 +881,15 @@ G = {
local f
f.<?x?>
]]
+
+TEST [[
+---@class <!XXX!><K, V>: {}
+
+---@type <?XXX?><>
+]]
+
+TEST [[
+---@class <!YYY!>
+
+---@type XXX<<?YYY?>>
+]]