Commit a80d83b2420b55772677421f41db251a23bb28d9 removed part of my temporary fix for a TList serialization bug in superobject.
A test has been added that checks for it.
The problem: GetArrayLength returns the SIZE not the number of items in the TList. It works fine for a normal array. So if the list contains 3 items GetArrayLength will return 4! [1, 2, 3, 0].
I'm drawing a blank on how to fix it so any ideas is appreciated.
Commit a80d83b2420b55772677421f41db251a23bb28d9 removed part of my temporary fix for a TList serialization bug in superobject. A test has been added that checks for it.
The problem:
GetArrayLength
returns the SIZE not the number of items in the TList. It works fine for a normal array. So if the list contains 3 itemsGetArrayLength
will return 4! [1, 2, 3, 0].I'm drawing a blank on how to fix it so any ideas is appreciated.