[fpc-devel] Failure to recompile TAChart after FPC r40785 (committed by Jonas)

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jan 7 17:32:59 CET 2019


On Mon, 7 Jan 2019 17:13:21 +0100
Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:

>[...]
> Did you try to add "static" to the TDiaPosition.Equals class
> function? For an object type only instance and static class methods
> make sense so non static class methods should probably best be
> forbidden.

True, reason is that *non* static means there is a Self.
But since there is no "object of objecttype" and no "record of
recordtype", there is no type for Self in class methods of
objects/record.

Mattias





More information about the fpc-devel mailing list