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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to