Once upon a time, on 11/28/2012 03:40 PM to be precise, luiz americo pereira camara said: >>> So, i keep my points. Even because is not a big change with easy >>> implementation that will fix the above issues. >> >> It IS a big change. There is production code out there that uses this, >> and this is an incompatible change. > 1) The change in code can be tedious but is simple. from Attach(MyObj) > to Attach(MyObj as IFPObserver)
To fix incompatibility wouldn't a simple operator overload do the trick? Operator := (a: TObject): IFPObserver; or something like that? -- Ewald
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel