Mattias Gaertner wrote:
For example, this is currently not allowed:

  generic TTree<T> = class(TObject)
type public TTreeNode = specialize TNode<T>;
  end;

Shouldn't this be allowed?

Perhaps it can only work with a complete TTreeNode description, probably the TNode is specific for use by TTree anyway. But that would limit it to being a record.

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

Reply via email to