Implementation of SetArrayElement
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
I implemented the "SetArrayElement" procedure that I didn't have in RTTI.
But I encountered a problem, in the TValue GetArrayElement function, that checks for a property called DimCount of the TTypeInfoDynArray and Dims of the TTypeInfoStaticArray. I found no references from them in RTL.js, and with that do not know are generated in the compilation or elsewhere.
With this I moved the source to the IsArray function and left commented the source where I believe that the check should be done if these fields existed effectively.
Mantis conversion info:
- Mantis ID: 38357
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js