[fpc-devel] Generics in FPC have many problems

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 29 16:36:10 CEST 2011

On 29 Aug 2011, at 16:23, Anthony Walter wrote:

> Paul, thanks for the reply. Did you mean to say that the generics are
> actually being improved ... that is that someday you might be able  
> to say:
> procedure TMyNonGenericClass.MyGenericMethod<T>(List: TList<T>);
> Or that the random seeming bugs with the existing way generics works  
> is
> being fixed?

You can see the details of what has already happened by looking at the  
svn logs for http://svn.freepascal.org/svn/fpc/branches/svenbarth/generics 
, e.g.:
   svn log http://svn.freepascal.org/svn/fpc/branches/svenbarth/ 
generics | less

The changes specific to that branch start with r17316. As far as  
{$mode delphi} is concerned, the eventual goal is to have a completely  
Delphi-compatible generics syntax.


More information about the fpc-devel mailing list