Op Thu, 10 Dec 2009, schreef Graeme Geldenhuys:

Paul Ishenin wrote:

This is delphi 2010 compatible behavior. Only info about published
methods is not written for classes with {$M-}.

So what is the correct way of asking if a class as RTTI (published
properties) available?  Because currently we have stacks of unit tests that
fail in tiOPF due to this change - give always true when asking if publish
properties (RTTI) is available.

Published properties are far from the only information stored in RTTI, and therefore not the only reason why RTTI is generated. Automated types like widestring need for example RTTI to function.

I'd say check if the RTTI contains the data you need.

Daniël
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to