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?
-- 
View this message in context: 
http://www.nabble.com/Recursive-data-structures-using-FP-generics-tp20954180p20954180.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to