diff options
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 0eba0f52..2c68fef5 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1511,6 +1511,12 @@ TEST [[ ---@field x string local t +---@generic T +---@param v T +---@param message any +---@return T +local function assert(v, message) end + local <?v?> = assert(t) ]] [[ |