On Mon, 7 Jan 2019 17:13:21 +0100 Sven Barth via fpc-devel <[email protected]> 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 _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
