[Lazarus] record literal in FPC?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jan 9 13:34:20 CET 2013


On Wed, 09 Jan 2013 13:27:50 +0100
Andreas Schneider <aksdb at gmx.de> wrote:

> Interesting. IIRC that worked correctly in Delphi 2010 (it's been a
> while ...). This /might /be a bug in FPC.
> 
> The root of the problem is how properties are handled. Afaics however,
> the use of /with/ should cause it to assign the final record afterwards.

That would be nice. At the moment fpc does not do that.

> Apparently it doesn't - at least not always. Could be by design, could
> be a bug. I'll check the bug tracker later and may report that. (You can
> do that yourself, if you want, but sooner or later I would like that
> functionality to work too, so I've a personal interest in this and
> therefore would not mind to report it :-))

Feel free to submit a feature request to the fpc bug tracker.

Mattias




More information about the Lazarus mailing list