Posted 06 January 2015 - 12:06 AM
VERSION:
1.6.5 for Minecraft 1.7.10
DESCRIPTION:
If you serialize a table containing a lua keyword as a key (e.g. repeat, do…), unserializing the returned string will fail silently and return nil.
EXPECTED RESULT:
textutils.unserialize should return the table given to textutils.serialize.
REPRODUCTION STEPS:
Type in the following code:
SCREENSHOT:
1.6.5 for Minecraft 1.7.10
DESCRIPTION:
If you serialize a table containing a lua keyword as a key (e.g. repeat, do…), unserializing the returned string will fail silently and return nil.
EXPECTED RESULT:
textutils.unserialize should return the table given to textutils.serialize.
REPRODUCTION STEPS:
Type in the following code:
x = {}
x['repeat'] = 1
y = textutils.unserialize(textutils.serialize(x))
print(tostring(y))
SCREENSHOT: