summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-12 04:23:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-12 04:23:27 +0800
commit6e47a81bc1c43a6188e17d3d77bbc88b7932269c (patch)
tree2886ba7d33131c70b8a572cfccd03cda105299f0 /test/hover
parente6e46580d171ebe4a3feb390652f1cf42faeac9a (diff)
downloadlua-language-server-6e47a81bc1c43a6188e17d3d77bbc88b7932269c.zip
fix get table key
`table<string, boolean>[string] -> boolean`
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index d4160dfa..199df06d 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1576,7 +1576,7 @@ local x: unknown
]]
TEST [[
----@type any
+---@type unknown
local <?t?>
t.a = 1
]]