J. Gareth Moreton <gar...@moreton-family.com> schrieb am Sa., 28. Juli 2018, 18:49:
> Another little progress update with implementing pure functions. > > 1. In my code (not submitted yet), the compiler now recognises and accepts > the 'pure' directive. There are a number of other directives that it can't > be used with ('noreturn' being one of them) and it can't be used on object > methods. > You could allow it for static class methods which don't have a Self argument and are essentially scoped ordinary routines. Regards, Sven >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel