summaryrefslogtreecommitdiff
path: root/test/definition/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-15 18:03:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-15 18:03:11 +0800
commitbd754b0691994a9868de83c145ef234bb659e13c (patch)
treeb1baada1992f79f8eedd90e40737808ee7ed256f /test/definition/luadoc.lua
parentd3ba148c2d77c99b033b87eb4301f8c36cc9cf39 (diff)
downloadlua-language-server-bd754b0691994a9868de83c145ef234bb659e13c.zip
fix #294
Diffstat (limited to 'test/definition/luadoc.lua')
-rw-r--r--test/definition/luadoc.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index 3fc60955..31134135 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -157,3 +157,15 @@ end
---@see loli#<?pants?>
]]
+
+TEST [[
+---@class AAAA
+---@field a AAAA
+AAAA = {};
+
+function AAAA:<!SSDF!>()
+
+end
+
+AAAA.a.<?SSDF?>
+]]