diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 16:57:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 16:57:57 +0800 |
commit | 171ed306f84850be46620145358dcfdf37387de2 (patch) | |
tree | 614bf1479866b23e6663e71daf4cb8bb0b4024f9 /test/definition/bug.lua | |
parent | 9451329b33de1e7b69f2793ac5f94715826c9895 (diff) | |
download | lua-language-server-171ed306f84850be46620145358dcfdf37387de2.zip |
update
Diffstat (limited to 'test/definition/bug.lua')
-rw-r--r-- | test/definition/bug.lua | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua index 58c2ed59..b564f764 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -251,80 +251,3 @@ local <!v!> = t[a] t[a] = <?v?> ]] - -TEST [[ ----@class A ----@field x number - ----@class B: A ----@field <!x!> boolean - ----@type B -local t - -t.<?x?> -]] - -TEST [[ ----@class A ----@field <!x!> number - ----@class B: A - ----@type B -local t - -t.<?x?> -]] - -TEST [[ ----@class A -local A - -function A:x() end - ----@class B: A -local B - -<!function B:x() end!> - ----@type B -local t - -local <!<?v?>!> = t.x -]] - -TEST [[ ----@class A -local A - -<!function A:x() end!> - ----@class B: A -local B - ----@type B -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() ---]] |