Hi there,

Currently this code:

  TSomeObject<T> = Class;
  TSomeOtherObject<T : TObject> = Class(TSomeObject<T> );

And finally:

  TMyObject = Class;
  TSomeOtherOtherObject<T : TMyObject> = Class(TSomeOtherObject<T> );

Comes up with error 'got "T" expected "TObject"' .. But TMyObject is based off of TObject?

- Dennis
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to