<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Mattias Gaertner via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Do., 3. Okt. 2019, 21:35:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
What is the state of FPC support for calling generic procedures using<br>
inference like Delphi?<br>
<br>
For example:<br>
<br>
{$mode objfpc}<br>
generic procedure Run<T>(a: T);<br>
begin<br>
end;<br>
<br>
begin<br>
Run(2);<br>
end.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">A patch for it by Ryan Joseph exists ( <a href="https://bugs.freepascal.org/view.php?id=35261">https://bugs.freepascal.org/view.php?id=35261</a> ), but I've not yet found the time to review it. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>