On Tue, 10 Mar 2020, Michael Van Canneyt wrote:
I know some of you might see this as a small problem, but it's an
inconstancy that can lead to a situation where the wrong methods will be
called without being obvious. The standard has long been that when an
identifier of the same name is is found, pascal will choose to identify the
name as the one coming from the last matching unit in the uses clause.
Multiple type helpers should follow this same rule.
I'm inclined to think you found the reason why Embarcadero disallows type
helpers.
That should be *multiple* type helpers, of course.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal