diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-27 14:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-27 14:51:43 +0800 |
commit | fdf3ebd61e8591b8c4d8538e9874f4dbd7a813a3 (patch) | |
tree | fca81f7cc2cf8e52094042a9e58a1bfa9856d6e9 /test | |
parent | ed764615146751a0a9a0d9169a84b9fb9f5248e9 (diff) | |
download | lua-language-server-fdf3ebd61e8591b8c4d8538e9874f4dbd7a813a3.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 9578f0d6..7778b6b5 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -923,7 +923,7 @@ field x: Class ]] TEST[[ ----@type Class +---@class Class local <?x?> = class() ]] [[ @@ -931,7 +931,7 @@ local x: Class ]] TEST[[ ----@type Class +---@class Class <?x?> = class() ]] [[ @@ -939,16 +939,10 @@ global x: Class ]] TEST[[ -local t = { - ---@type Class - <?x?> = class() -} -]] -[[ -field x: Class -]] +---@class A +---@class B +---@class C -TEST[[ ---@type A|B|C local <?x?> = class() ]] @@ -990,7 +984,7 @@ function f(t) end ]] [[ -local t: Class {} +local t: Class ]] TEST [[ |