[fpc-pascal] Generic: generic type in generic methods

Sven Barth pascaldragon at googlemail.com
Sun Feb 8 10:37:51 CET 2015

On 08.02.2015 04:06, silvioprog wrote:
> Hello,
> I'm trying to port some of my drafts from Delphi to FPC, but I'm taking
> some problems. See this sample:
> http://pastebin.com/Jb6UjDX9
> Notice that I specialized the generic types directly in the method call.
> This is very useful, and allows one to use a clean syntax for direct
> calls in methods with generic types.
> I believe that this feature is not implemented in FPC yet. So, I ask: is
> there any table to check the compatibility of generic types between FPC
> and Delphi?

No, that feature is not implemented yet. It's however on my near term 
todo list.

And no, there is no table to check for compatibility.


More information about the fpc-pascal mailing list