diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-08 15:16:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-08 15:16:47 +0800 |
commit | dd7317a907b88cb102f45535ef19d67b47564c7f (patch) | |
tree | 834d10e71cce6ec2f8c6914b56de5ee4ecab6fa8 /test | |
parent | dd37471ee6bd108fad9e3014a827621114ac4257 (diff) | |
download | lua-language-server-dd7317a907b88cb102f45535ef19d67b47564c7f.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/definition/luadoc.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua index c7c67bb6..97b12b85 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -822,22 +822,22 @@ print(t.<?x?>) TEST [[ ---@class A ----@field <![1]!>? boolean +---@field [1]? <!{}!> local t -print(t[<?1?>]) +local <!<?v?>!> = t[1] ]] TEST [[ ----@type { <![1]?: boolean!> } +---@type { [1]?: <!{}!> } local t -print(t[<?1?>]) +local <!<?v?>!> = t[1] ]] TEST [[ ---@class A ----@field <!['xx']!>? boolean +---@field <!['xx']!>? <!{}!> local t print(t.<?xx?>) |