[fpc-pascal] generic proc inference

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 3 21:35:25 CEST 2019


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.


Mattias


More information about the fpc-pascal mailing list