diff options
Diffstat (limited to 'test-beta/definition/luadoc.lua')
-rw-r--r-- | test-beta/definition/luadoc.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-beta/definition/luadoc.lua b/test-beta/definition/luadoc.lua index d91c3dfe..a0881334 100644 --- a/test-beta/definition/luadoc.lua +++ b/test-beta/definition/luadoc.lua @@ -91,6 +91,16 @@ TEST [[ function t(<?<!f!>?>) end ]] +TEST [[ +---@overload <!fun(y: boolean)!> +---@param x number +---@param y boolean +---@param z string +function <!f!>(x, y, z) end + +print(<?f?>) +]] + -- TODO do return end TEST [[ |