[Lazarus] object type: strange behaviour

Marco van de Voort marcov at stack.nl
Mon Oct 25 09:19:05 CEST 2010


On Mon, Oct 25, 2010 at 09:14:41AM +0200, Graeme Geldenhuys wrote:
> > I think they didn't pick the object type because it also supports VMTs, a
> > feature that complicates resolving methods, and considerably complicating
> > those features.  TP Tobject can magically gain a VMT when a virtual method
> > is used.
> 
> Interesting thought, thanks Marco.

In the same sense, I wouldn't try to use objects with generics either :)

It will raise a gigantic amount of bugs, for no particular reason. Let it be
legacy.

Btw, I noticed the ansistring-in-tobject issue when I tried to update turbo
vision to ansistring.




More information about the Lazarus mailing list