diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-14 21:13:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-14 21:13:54 +0800 |
commit | 7df9f807faf27e3faea33842ed599963e00cdb0b (patch) | |
tree | 7fab4bda4680a994c5a46b4f695c5cd957411042 /test | |
parent | 9c084cd0bf6b83bb235a60dd2353b775c379ac6e (diff) | |
download | lua-language-server-7df9f807faf27e3faea33842ed599963e00cdb0b.zip |
cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/completion/common.lua | 2 | ||||
-rw-r--r-- | test/type_inference/init.lua | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 5ee2b844..4667305f 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -630,7 +630,7 @@ self.results.list[#self.re<??>] }, { label = 'results', - kind = define.CompletionItemKind.Text, + kind = define.CompletionItemKind.Field, }, } diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index c2bd96b7..4787dd56 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -1459,3 +1459,10 @@ local uri local <?v?> = t[uri] ]] + +TEST 'A' [[ +---@class A +G = {} + +<?G?>:A() +]] |