summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 18:34:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 18:34:56 +0800
commita3799601ff7eff899667674c56c635c6a4c71ebc (patch)
tree957d97836bb60e20892bf0605428da90d6848b30 /test/diagnostics
parent66de37c58ee8cfb336b8f3d17f97d7f05f210f6d (diff)
downloadlua-language-server-a3799601ff7eff899667674c56c635c6a4c71ebc.zip
fix #994
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 2a9cefe0..f52a9b20 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1395,3 +1395,13 @@ T.x = 1
print(<!T.x!>)
]]
+
+TEST [[
+T = {}
+
+---@deprecated
+function T:ff()
+end
+
+<!T:ff!>()
+]]