[fpc-pascal] question on generics for 3.2.2
P Padil
ppadilcdx at gmail.com
Sat Oct 24 23:07:54 CEST 2026
Was trying to code a recursive generic function but kept getting an error:
"Error: Global Generic template references static symtable
A generic declared in the interface section of a unit must not reference symbols that belong solely to the implementation section of that unit.”
Is there a trick to this and I missed the memo, or just not allowed? Resorted to concrete types to get it to compile.
Thanks
Pete
More information about the fpc-pascal
mailing list