diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:15:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:15:06 +0800 |
commit | 5c48724257e1abdd81eed0d0e72b6a1033571b87 (patch) | |
tree | 4aecdffe765f82f41082c8c53bfebc2e61d63dbf /test/hover/init.lua | |
parent | 52097b6ee7cc8f5a770eb851902560b5b8592218 (diff) | |
download | lua-language-server-5c48724257e1abdd81eed0d0e72b6a1033571b87.zip |
#406 hover dont show `any` before `{}`
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 27cc62ee..dc9125ed 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1515,3 +1515,14 @@ local <?x?>--测试 [[ local x: any ]] + +TEST [[ +---@type any +local <?t?> +t.a = 1 +]] +[[ +local t: { + a: integer = 1, +} +]] |