diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-02 19:42:36 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-02 19:42:36 +0800 |
commit | 5a965d6d800f4c1bfa18a246b68e8ad68881e762 (patch) | |
tree | 4ea4c6de989682fc0d948f4e4a8283a1b968a2ee /test/definition/bug.lua | |
parent | 3ab0c3bbb82e4aeb694cd0bc511fd3b43583c553 (diff) | |
download | lua-language-server-5a965d6d800f4c1bfa18a246b68e8ad68881e762.zip |
add test
Diffstat (limited to 'test/definition/bug.lua')
-rw-r--r-- | test/definition/bug.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua index 9ea47fd1..a7780803 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -310,3 +310,23 @@ local t local <!<?v?>!> = t.x ]] + +-- TODO +--TEST [[ +-----@class A +--local A +-- +-----@return A +--function A:x() end +-- +-----@class B: A +--local <!B!> +-- +-----@return B +--function B:x() end +-- +-----@type B +--local t +-- +--local <!<?v?>!> = t.x() +--]] |