Re: [fpc-pascal] Generic class aliases

2021-04-16 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal 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 >

[fpc-pascal] Generic class aliases

2021-04-16 Thread Ryan Joseph via fpc-pascal
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 Regards, Ryan Joseph