diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-20 17:35:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-20 17:35:41 +0800 |
commit | 430424201fd104ee0e2dcdbf35a8d049a19a3a95 (patch) | |
tree | d02dc105e40dd14c7ee47e2de4c76c47470c3c4d /test | |
parent | 58ae26985b85315c8fb9f79a88e84515f71c0af6 (diff) | |
download | lua-language-server-430424201fd104ee0e2dcdbf35a8d049a19a3a95.zip |
close #254 supports multiple class inheritance
Diffstat (limited to 'test')
-rw-r--r-- | test/definition/luadoc.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua index 5315b5fd..314af605 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -341,3 +341,16 @@ function Foo:<!bar1!>() end local v1 print(v1[1][1].<?bar1?>) ]] + +TEST [[ +---@class X + +---@class Y +---@field <!a!> string + +---@class Z:X, Y + +---@type Z +local z +z.<?a?> +]] |