[fpc-pascal] modeswitch multihelpers precedence problem

stdreamer stdreamer at freemail.gr
Tue Mar 10 14:25:37 CET 2020


On 10/3/2020 10:22 π.μ., Mattias Gaertner via fpc-pascal wrote:
> On Tue, 10 Mar 2020 00:57:12 -0400
> Anthony Walter via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
>> [...]
>> What should happen is that both examples use the function from the
>> last unit in the uses clause.
> 
> Yes, that's how Pascal usually works and so it works in pas2js.
> Strange that fpc does it the other way round.
> 
> Bug or feature?
> 
No it does not. The first unit in the uses clause always take presents 
over the last. It always has it always should. Don't brake backwards 
compatibility.


More information about the fpc-pascal mailing list