Am 02.03.2016 um 16:32 schrieb Maciej Izak:
2016-03-02 16:07 GMT+01:00 Jonas Maebe <[email protected]
<mailto:[email protected]>>:
FWIW, our documentation explicitly mentions that our RTTI format
is not the same as Delphi's:
http://www.freepascal.org/docs-html/user/usersu87.html (7th bullet)
There is also in this point: "This should not be a problem if the API
of the TypeInfo unit is used and no direct access to the RTTI
information is attempted"
according this point, current solution is buggy. Managed fields means
managed fields, no less, no more -,- I got unmanaged field description
from managed fields description array. You can torture me but I'll
never tell: "that is right/correct". According mentioned facts my
patch looks correct.
--
Best regards,
Maciej Izak
This solution would leave one unable to aquire information about non
manged record fields.
So in my opinion either adding seperate information for non manged
fields or a simple renaming(making it clear what information to expect)
are preferable.
Steve.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel