data: data/plist (XML read/write byte-identical to plistlib, binary bplist00 read incl. UIDs / shared refs / cycle guard); plistlib fixtures. Array detection in Json / msgpack / cbor encoders no longer trusts next(t, #t)

This commit is contained in:
4DBug committed 2026-10-31 08:56:36 -05:00
1 parent 6cee99f4e3
commit 6d8262cf4a
10 files changed
+830 -9

No files matched your search

-3
View File
@@ -341,9 +341,6 @@ local function isArray(t: any, emptyMap: boolean): boolean
if n == 0 then
return next(t) == nil and not emptyMap
end
if next(t, n) ~= nil then
return false
end
local c = 0
for _ in next, t do
c += 1