[Lazarus] object type: strange behaviour

Alexander Klenin klenin at gmail.com
Sat Oct 23 04:10:58 CEST 2010


On Sat, Oct 23, 2010 at 06:55, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Delphi Objects should only be used with TP7 member types.
>
> The initialization and finalization, required for managed types
> (AnsiString...), is broken in derived Objects, since the introduction of
> these types. Because it were easy to fix that bug (like with nested
> records), it seems to be a purely political decision, to deprecate the
> Object type for a real reason. Note that Object types with no ancestors  are
> properly initialized and finalized...

I hope FPC does not have this bug?

-- 
Alexander S. Klenin




More information about the Lazarus mailing list