diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 7ed794d1..cd3313cb 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1418,3 +1418,11 @@ local c: C { field: any, } ]] + +TEST [[ +---@param callback fun(x: integer, ...) +local function f(<?callback?>) end +]] +[[ +function (x: integer, ...) +]] |