Closed Ketasaja closed 1 month ago
Thanks for catching this! Fix for this is coming in the next sync.
@alexmccord I found a similar issue with function parameters, with 0.628.0 in non-strict mode:
local function _(b: buffer) -- TypeError: Argument b with type 'unknown' in function '_' is used in a way that will run time error
buffer.writeu32(b, 0, 0)
end
Can you open a new issue for that?
Tested on 0.627, with no errors when using strict mode.