diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 15:49:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 15:49:51 +0800 |
commit | 2dd1bdb05cb317613cd634208953d8450acf4d52 (patch) | |
tree | 5c3536b5fd338d83aff5d3920fc4e237b570bad1 /test/hover/init.lua | |
parent | 5f48be0b6f61a83dd898687db468a9011313e8de (diff) | |
download | lua-language-server-2dd1bdb05cb317613cd634208953d8450acf4d52.zip |
don't show `any` as field node
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 46accbf7..48daf593 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1929,3 +1929,13 @@ local <?x?> [[ local x: ` x | y `|`123 ????` ]] + +TEST [[ +---@type any +local x + +print(x.<?y?>) +]] +[[ +(field) x.y: unknown +]] |