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

leledumbo leledumbo_cool at
Thu Dec 11 13:06:52 CET 2008

Last time I try (about a semester ago) the compiler cannot do specialization
based on another. For instance, if we have:

  generic TTree<T> = class
    TChild = specialize TTree<T>; <-- the compiler chokes on this
    TChildren = array of TChild;

What's the status now?
View this message in context:
Sent from the Free Pascal - General mailing list archive at

More information about the fpc-pascal mailing list