Textutils unable to serialize a specific lua table
Shiranuit opened this issue · 1 comments
Minecraft Version
1.19.x
Version
[1.19.2] 1.101.1
Details
This issue is related to a bug in Cobalt, see this PR Cobalt #61
Textutils is unable to serialize the table in the following example
local table = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,[24]={}}
local serialized = textutils.serialize(table) -- Error: Cannot serialize table with repeated entries
It might be good to also include the PR Cobalt #62 since this reduces inconcistency with the table length operator.