Re[fpc-pascal] cursive data structures using FP generics

Florian Klaempfl florian at freepascal.org
Thu Dec 11 16:10:38 CET 2008


leledumbo schrieb:
> Last time I try (about a semester ago) the compiler cannot do specialization
> based on another. For instance, if we have:
> 
> type
>   generic TTree<T> = class
>   type
>     TChild = specialize TTree<T>; <-- the compiler chokes on this
>     TChildren = array of TChild;
>   ...
>   end;
> 
> What's the status now?

Is there a bug report about it?



More information about the fpc-pascal mailing list