Mattias Gaertner via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb
am Do., 3. Okt. 2019, 21:35:

> Hi,
>
> What is the state of FPC support for calling generic procedures using
> inference like Delphi?
>
> For example:
>
> {$mode objfpc}
> generic procedure Run<T>(a: T);
> begin
> end;
>
> begin
>   Run(2);
> end.
>

A patch for it by Ryan Joseph exists (
https://bugs.freepascal.org/view.php?id=35261 ), but I've not yet found the
time to review it.

Regards,
Sven

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

Reply via email to