[fpc-devel] Re: Testing for..in feature

Paul Ishenin ip at kmiac.ru
Thu Nov 5 10:00:52 CET 2009


Michael Van Canneyt wrote:

> Because - for one thing - the RTTI functions of the typinfo unit will 
> fail on it.

This is unfair. Why compiler functions (like write) have advantage over 
user functions.

What if user needs this info very much? Maybe allow typeinfo for them 
and document it limitation is better? Or add another special function:
TypeInfo(TypeIdentifier, IKnowAboutLimitations: Boolean = False) ?

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list