diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 20:54:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 20:54:24 +0800 |
commit | fbb038b568fffe8ddbf6946cd0f7d49a624b496a (patch) | |
tree | 89314f1f0261075c7902cbeefeb9f6de60867700 /test/hover/init.lua | |
parent | 95437dacc0ecfdf7ee6c4b158fbba6dbc21aecd3 (diff) | |
download | lua-language-server-fbb038b568fffe8ddbf6946cd0f7d49a624b496a.zip |
async doc.type.function
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 404adb44..d2a6e084 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1732,3 +1732,19 @@ local function <?f?>() end [[ async function f() ]] + +TEST [[ +---@type function +local <?f?> +]] +[[ +local f: function +]] + +TEST [[ +---@type async fun() +local <?f?> +]] +[[ +local f: async fun() +]] |