[fpc-pascal] Extraneous generic parameters

Ryan Joseph genericptr at gmail.com
Mon Mar 15 20:45:39 CET 2021



> On Mar 15, 2021, at 12:42 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> The TArray<T> generic type is part of the ObjPas unit, so the compiler simply picks that instead of that of your program. ;)

Sneaky but that explains the issue.

Btw since we're on the topic of arrays. Are short strings and static arrays not able to be generics? I tried that and got parser errors.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list