[fpc-devel] Initialize/Finalize management operators and Default intrinsic

Maciej Izak hnb.code at gmail.com
Tue Apr 12 15:24:04 CEST 2016


2016-04-12 15:06 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:

> Attributes do not need Invoke ?


Of course they need Invoke. When
TRttiContext.GetType(TMyClassWithAttributes) is executed, deep inside
GetType is executed constructor for each attribute by Invoke. IMO mentioned
branch is far far from "ready to merge".

Maybe you thinking about attributes just as simple flags/marks without
constructors (not parameterized attributes), then you are right.

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160412/a0ea5c58/attachment.html>


More information about the fpc-devel mailing list