diff options
Diffstat (limited to 'test/hover')
-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() +]] |