[fpc-devel] type classes
Micha Nelissen
micha at neli.hopto.org
Sun Oct 21 14:14:39 CEST 2007
Peter Vreman wrote:
> Also delphi handles things strange. The following code is from
> webtbf/tw3930a.pp. The code looks correct, but delphi fails with
> "Incompatible types: 'TMyStringList' and 'TStringList'". That makes
> typed classes not very usefull unless you override all constructors.
Sounds like they define the result type of a constructor at constructor
definition time. Strange then that inherited constructors do work ?
Micha
More information about the fpc-devel
mailing list