diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
commit | 46974b3b740c7f58ecd8094392ab7f4c5c254f44 (patch) | |
tree | 97f947d5b63b9fd257db66cc5a868bccaa3909ea /test | |
parent | a31cb772fa4f1da3fd78e4d9f5a01729c22883f7 (diff) | |
download | lua-language-server-46974b3b740c7f58ecd8094392ab7f4c5c254f44.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/definition/luadoc.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua index 7b6fd0da..0021556f 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -644,6 +644,17 @@ print(t.<?x?>) ]] TEST [[ +---@alias TT<V> { <!x!>: V } + +---@type TT<A> +local t + +---@class A: <!{}!> + +print(t.<?x?>) +]] + +TEST [[ ---@class Foo local Foo = {} function Foo:<!bar1!>() end |