[fpc-pascal] Generic<T> compiler error

Marcos Douglas B. Santos md at delfire.net
Mon Oct 23 12:53:19 CEST 2017

On Mon, Oct 23, 2017 at 3:28 AM, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Sven Barth via fpc-pascal said:
>> Type aliases are currently not supported in mode Delphi. In mode ObjFPC
>> they might work, but I'm not sure about that either...
>> That said I also don't see the use of type aliases for generics...
> How about a simple
> type  tttt<x> = anotherunit.tttt<x>;
> ?
> That is often what I use type aliases for, aliasing code that has been
> factored out of an unit back in.

That is I am talking about. Thanks.

Best regards,
Marcos Douglas

More information about the fpc-pascal mailing list