Is it possible that the TypeInfo intrinsic could work with generic template 
types or is this a bug? I get "Illegal qualifier" in the procedure below.

generic procedure DoThis<T>(a: array of T);
begin
  writeln(TypeInfo(T)^.name);
end;


Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to