summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-06 21:11:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-06 21:11:15 +0800
commitdf2f020ea023379f462ee5df861f708e69427994 (patch)
tree8c28cc637328ec181ad3fd76ec2de1ea4909186a /test
parente93c044cf4596184907a72d7be05ed0d0e29cfb8 (diff)
downloadlua-language-server-df2f020ea023379f462ee5df861f708e69427994.zip
fix
Diffstat (limited to 'test')
-rw-r--r--test/definition/luadoc.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index 22a51845..5f8c11ee 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -682,3 +682,13 @@ local t
print(t.<?xx?>)
]]
+
+TEST [[
+---@class A
+local <!t!>
+
+t.f = function (self)
+end
+
+<?t?>
+]]