On Mon, 7 Oct 2019 12:38:51 -0400
Ryan Joseph <generic...@gmail.com> wrote:

> > On Oct 7, 2019, at 10:19 AM, Mattias Gaertner via fpc-pascal
> > <fpc-pascal@lists.freepascal.org> wrote:
> > 
> > Note that in Delphi the "non-generic-wins" rule is per parameter:
> > 
> > procedure Run<T>(a:T; b: word);
> > procedure Run<T>(a: word; b: T);  
> 
> I mean what happens here? The non-generic functions wins right?
> 
> procedure Run<T>(a:T; b: word);
> procedure Run<T>(a: word; b: T);
> procedure Run(a: word; b: word);

Only for
Run(word(1),word(2));

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to