On 26.12.2021 23:47, Blaise--- via fpc-devel wrote:
-------8<------- type R = record procedure Foo(...); operator (); function Bar(const A, B: R): R; operator +; end; -------8<-------
Made a blunder there, sorry: for Bar, it should either be function Bar(const Other: R): R; operator +; or class function Bar(const A, B: R): R; static; operator +; -- βþ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel