Closed dv-extrarius closed 2 days ago
This code under strict gets an error on the line local numRanges: number = #ranges saying that boolean can't be converted to number
local numRanges: number = #ranges
boolean
number
local function TestFunc(ranges: {number}): {number} if true then ranges = {} :: {number} end local numRanges: number = #ranges return ranges end
Thanks for the report. This should be fixed in the 644 release. Cheers! 😸
This code under strict gets an error on the line
local numRanges: number = #ranges
saying thatboolean
can't be converted tonumber