TRttiEnumerationType
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
I am implementing the TRttiEnumerationType, but it is not working because in line 406, the "Ord" function does not recognize the generic type T, giving the error "Incompatible type arg no. 1: Got "T", expected "enum or char"".
On line 411, I try to convert an integer to the generic type T and the error "Illegal type conversion: "Longint" to "TPasGenericTemplateType T"".
I don't know if I've stated anything incorrectly or is a compiler problem.
Mantis conversion info:
- Mantis ID: 37684
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js
- Fixed in version: trunk
- Fixed in revision: 864