[fpc-devel] Twice stored record RTTI data
Steve Hildebrandt
Steve.Kassel at web.de
Wed Mar 2 16:40:23 CET 2016
Am 02.03.2016 um 16:32 schrieb Maciej Izak:
> 2016-03-02 16:07 GMT+01:00 Jonas Maebe <jonas.maebe at elis.ugent.be
> <mailto:jonas.maebe at elis.ugent.be>>:
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160302/cb67a8a4/attachment.html>
More information about the fpc-devel
mailing list