diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 15:44:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 15:44:43 +0800 |
commit | 54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5 (patch) | |
tree | ce37b2ee5583a576cf679f098003457aa726221d /test-beta/hover | |
parent | 8ddc5f60a24adb1ef8ac578965190a3e23e180c3 (diff) | |
download | lua-language-server-54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5.zip |
lookup 要 deep
Diffstat (limited to 'test-beta/hover')
-rw-r--r-- | test-beta/hover/init.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 6b316919..fb2bbf95 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -1346,7 +1346,7 @@ global t: c { TEST [[ ---@class c -t = {} +local t = {} ---@overload fun() function t.<?f?>() end @@ -1357,6 +1357,18 @@ function t.<?f?>() end ]] TEST [[ +---@class c +t = {} + +---@overload fun() +function t.<?f?>() end +]] +[[ +(2 个定义,1 个原型) +(2) function t.f() +]] + +TEST [[ ---@class C ---@field field any |