luau
luau copied to clipboard
`next` type errors on refined table type
local t: any = {}
if type(t) == "table" and next(t) then -- TypeError: Type 'table' could not be converted into '{+ [K]: V +}'
print("hello")
end
possibly related to https://github.com/luau-lang/luau/issues/1988
Hello, this issue has been patched and should be included in the next release (693)!