summaryrefslogtreecommitdiff
path: root/test-beta/definition/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-27 11:14:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-27 11:14:12 +0800
commit03e3cd15f9673e13537eee9d6b71bb45c22318eb (patch)
treeba7fcdab17f2c55c213de51247dfe11bdcf62404 /test-beta/definition/luadoc.lua
parent10ed5c9e5946b36b7d75afb3855afa0cacc42543 (diff)
downloadlua-language-server-03e3cd15f9673e13537eee9d6b71bb45c22318eb.zip
doc.type.function 视为一种定义
Diffstat (limited to 'test-beta/definition/luadoc.lua')
-rw-r--r--test-beta/definition/luadoc.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-beta/definition/luadoc.lua b/test-beta/definition/luadoc.lua
index f6b22cce..d91c3dfe 100644
--- a/test-beta/definition/luadoc.lua
+++ b/test-beta/definition/luadoc.lua
@@ -86,6 +86,11 @@ TEST [[
---@param a <?Class?>
]]
+TEST [[
+---@param f <!fun():void!>
+function t(<?<!f!>?>) end
+]]
+
-- TODO
do return end
TEST [[