[fpc-devel] When will the next version of FPC be released?
Michael Van Canneyt
michael at freepascal.org
Sat Jun 1 13:25:41 CEST 2019
On Sat, 1 Jun 2019, Martok wrote:
>> What with overloads ?
>>
>> Procedure MyProc<T>(a:T);
>> Procedure MyProc(a : TObject);
>>
>> How do I know which one will be called ?
>
> Once again: FPC needs a defined method resolution order, *and stick with it*.
>
> The current ad-hoc inheritance/typeconv/:= overload/overload/operator overload
> mess is already completely unpredictable and super buggy.
Really ?
I wonder what kind of code you write to make this 'super buggy' statement.
I myself write lots of code, and never encountered an issue.
But then, I normally don't use dubious constructs to begin with.
In general of course I agree 100% with your statement that we need a clear resolution
order.
Michael.
More information about the fpc-devel
mailing list