Hello List,

Since 2.6.0, when you write something like this:

procedure foo(AClass : TStrings);
foo(MyStringList); // Will return an error that TStrings is expected ...

I can not use TStringList as the parameter without casting it to TStrings.
But I do not understand why this limitation added. Can you please explain
it to me ?

What can be done in order to make it supported again ? should it be
declared as an abstract class or something ?

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

Reply via email to