summaryrefslogtreecommitdiff
path: root/test/definition/bug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-02 19:42:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-02 19:42:36 +0800
commit5a965d6d800f4c1bfa18a246b68e8ad68881e762 (patch)
tree4ea4c6de989682fc0d948f4e4a8283a1b968a2ee /test/definition/bug.lua
parent3ab0c3bbb82e4aeb694cd0bc511fd3b43583c553 (diff)
downloadlua-language-server-5a965d6d800f4c1bfa18a246b68e8ad68881e762.zip
add test
Diffstat (limited to 'test/definition/bug.lua')
-rw-r--r--test/definition/bug.lua20
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()
+--]]