ws-cleanup-types: codecs: type table.create results, string-keyed tables and multi-assigned locals

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
4DBugandClaude Opus 5.5 committed 2026-10-31 10:52:04 -05:00
1 parent 8e6894c6b5
commit c436f4d265
22 files changed
+73 -73

No files matched your search

+2 -2
View File
@@ -267,8 +267,8 @@ function Decode.frame(st: State, buf: buffer, off: number, len: number): (number
local x = bitsAt(b, pos, 8)
local y = bitsAt(b, pos + 8, 8)
pos += 16
mode[c], denShift[c] = rshift(x, 4), band(x, 15)
pbFactor[c], order[c] = rshift(y, 5), band(y, 31)
mode[c], denShift[c] = rshift(x, 4), band(x, 15) :: number
pbFactor[c], order[c] = rshift(y, 5), band(y, 31) :: number
if pos + order[c] * 16 > limit then
return nil, "frame runs past the end"
end