ws-cleanup-types: archive, audio, data, font, image, layered, music, playlist, subtitle, vector, video: annotations, casts, one value per re-assignment where the solver loses the type

This commit is contained in:
4DBug committed 2026-10-31 11:00:25 -05:00
1 parent dc98aec2ec
commit f459b2dcdf
44 files changed
+172 -119

No files matched your search

+2 -1
View File
@@ -204,7 +204,8 @@ function S3m.decode(r: Bytes.Reader, opts: DecodeOptions?): (any, Err.Err?)
vol = math.min(pr:u8(), 64) + 1
end
if bit32.band(what, 0x80) ~= 0 then
cmd, info = pr:u8(), pr:u8()
cmd = pr:u8()
info = pr:u8()
if cmd > 26 then
cmd, info = 0, 0
end