On Fri, 11 Jan 2019, Mattias Gaertner via fpc-pascal wrote:

Hi,

A type helper can change Self.
I wondered how FPC 3.3.1 handles properties and got some
unexpected results. Is this by design, a bug, or not-yet-implemented?

Delphi acts the same, so for FPC: by design...

You will see that there are other pitfalls, for example when using helpers
on properties of type record. I have been bitten by this more than once.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to