summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 16:55:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 16:55:44 +0800
commitae8ce1e4d975d6aefc947a008ed8a82eec1312d3 (patch)
tree607249c561690e82f2dd0db01121472e957aa452 /test/diagnostics/init.lua
parent96946f4022a45519fa4e512c652d322cf8232a73 (diff)
downloadlua-language-server-ae8ce1e4d975d6aefc947a008ed8a82eec1312d3.zip
cleanup
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index e8e24141..4fcf38ab 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1483,3 +1483,9 @@ end
return af
]]
+
+TEST [[
+local _ = type(function () ---@async
+ return nil
+end)
+]]