[fpc-pascal] Generic class aliases

Ryan Joseph genericptr at gmail.com
Fri Apr 16 18:29:26 CEST 2021


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



More information about the fpc-pascal mailing list