[fpc-devel] Improved RTTI compromise
Michael Van Canneyt
michael at freepascal.org
Tue Dec 6 17:46:00 CET 2016
On Tue, 6 Dec 2016, Maciej Izak wrote:
> I was thinking about extended RTTI, and important RTTI.pas module (good
> start point with attributes is waiting 3 years). Seems that the only real
> reason why we don't have yet RTTI.pas in trunk is incompatibility of
> generated type info (as Jonas said: TAttributeData vs TAttrData, no
> Current situation seems like big lock for many developers and development.
> I see 3 solutions:
> 1. TAttributeData with additional compiler hinting directive "experimental"
> 2. Moving TAttributeData into implementation section (and related functions
> accessible through alias&special *.inc for RTTI.pas). Only usage of
> attributes through RTTI.pas would be allowed.
The Delphi TypInfo unit also exposes the attributes.
More information about the fpc-devel