luau
luau copied to clipboard
Variadics using generic type pack causing `nil` type with new solver
Tested on 0.637.
--!strict
function _f<t...>(...: t...)
local _ = select(1, ...) -- TypeError: Function only returns 0 values, but 1 is required here
end
_ should be any since select returns ...any, but is nil.