diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 16:17:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 16:17:52 +0800 |
commit | 788709d4e2a2ae1d412a0afcfddbfbce19d04099 (patch) | |
tree | a7445a7cf8aff0b5ac5c3511e6e2d38dc11057eb /test/definition | |
parent | 14f8d12a617e1a3ec0e3483cbae3447afa7a7aa8 (diff) | |
download | lua-language-server-788709d4e2a2ae1d412a0afcfddbfbce19d04099.zip |
#511 supports `doc.type.literaltable`
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/luadoc.lua | 7 |
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?>) +]] |