diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 20:37:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 20:37:30 +0800 |
commit | 2fb6504241d12c599129922aa4043285f81cc8ef (patch) | |
tree | 25880ce97e20fb1f501a9ad2325d191bf4bafe56 /test-beta | |
parent | 2b434ab4f4a078773a27e205a60b63a9ae4efe1b (diff) | |
download | lua-language-server-2fb6504241d12c599129922aa4043285f81cc8ef.zip |
修正一个bug
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/hover/init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index fb2bbf95..326d01c2 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -866,6 +866,21 @@ function a(b: table) -> any ]] +TEST [[ +local <?t?> = { + a = true +} + +local t2 = { + [t.a] = function () end, +} +]] +[[ +local t: { + a: boolean = true, +} +]] + TEST[[ ---@class Class local <?x?> = class() |