[fpc-devel] Generics

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 22 13:07:50 CEST 2009


On 21 Oct 2009, at 19:08, David B Copeland wrote:

> On Wed, 2009-10-21 at 15:54 +0200, Jonas Maebe wrote:
>> Generics still don't work 100%,
>
> In what way is Generics not 100%?

There are problems with using inheritance, e.g. http://bugs.freepascal.org/view.php?id=12249 
  and http://svn.freepascal.org/svn/fpc/trunk/tests/test/tgeneric16.pp

Another compiler crash: http://bugs.freepascal.org/view.php?id=12810

It's not possible to use references to not yet fully specialised  
types, e.g. http://bugs.freepascal.org/view.php?id=11777

Assembler does not work in generics.

There are some problems with inline and generics.


Jonas



More information about the fpc-devel mailing list