2016-04-12 15:06 GMT+02:00 Michael Van Canneyt <mich...@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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to