Am So., 2. Dez. 2018, 15:28 hat Ryan Joseph <r...@thealchemistguild.com> geschrieben:
> > > > On Dec 2, 2018, at 8:11 PM, Sven Barth via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > > Also the idea should be that a non-generic routine takes precedence. > > > > I did this wrong then because the generic takes precedence now. Why > shouldn’t the generic take precedence though? It comes after so you think > it would hide the first one. The symbol “DoThis” is now a generic dummy > (compiler term) so I didn’t know you could even get access to the first > DoThis. > Specialization is expensive. If specialization can be avoided, it should be. Not to mention that the non-generic one could have more optimized code. Though to be sure I'll test with Delphi, we'll have to be compatible there anyway. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal