[fpc-pascal] Generic class aliases
Sven Barth
pascaldragon at googlemail.com
Fri Apr 16 19:21:26 CEST 2021
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Fr., 16. Apr. 2021, 18:29:
> With normal classes you can make aliases to other units but with generics
> you get an error. Am I doing this wrong or is this not supported?
>
> type
> TList = UOther.TList; // Generics without specialization cannot be used
> as a type for a variable
This is not supported.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210416/8a82ace3/attachment.htm>
More information about the fpc-pascal
mailing list