diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 19:20:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 19:20:53 +0800 |
commit | a04cffb43132645f63e5a319f6ca69e0df87dcdb (patch) | |
tree | 6a86e894e08bf45d258bedd0240e61389ba6a94e /test | |
parent | f7399c6206378b76c87a7386707cf8e24d5a98ac (diff) | |
download | lua-language-server-a04cffb43132645f63e5a319f6ca69e0df87dcdb.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/type-check.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/diagnostics/type-check.lua b/test/diagnostics/type-check.lua index f882d9c7..30e727d3 100644 --- a/test/diagnostics/type-check.lua +++ b/test/diagnostics/type-check.lua @@ -179,6 +179,16 @@ m.ints = {} TEST [[ ---@class A +---@field x A + +---@type A +local t + +t.x = {} +]] + +TEST [[ +---@class A ---@field x integer ---@type A |