Open Ketasaja opened 1 month ago
Tested on 0.627 with no errors in non-strict mode.
--!strict type k = { k: string, } function _(): k return table.freeze({ k = "", }) -- TypeError: Type pack '{+ +}' could not be converted into 'k'; at [0], {+ +} is not a subtype of k end
Same is for table.clone()
table.clone()
local test: typeof(table.clone())
Tested on 0.627 with no errors in non-strict mode.