[fpc-pascal] modeswitch multihelpers precedence problem
Michael Van Canneyt
michael at freepascal.org
Tue Mar 10 08:12:17 CET 2020
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
That should be *multiple* type helpers, of course.
More information about the fpc-pascal