[fpc-devel] Pure function development

Jonas Maebe jonas at freepascal.org
Wed Apr 29 22:51:18 CEST 2020

On 29/04/2020 22:43, J. Gareth Moreton wrote:
> So are you officially rejecting pure functions and my future work on
> them in this form?

I'm just trying to say that there is already a (primitive) framework for
propagating constant values through functions (in the optconstprop
unit), and also an extensive framework for evaluating constant
expressions (the simplify methods of all nodes), and that hence there
may not be any need to develop a completely new constant evaluation and
propagation framework next to this.

I explained before that I am absolutely no fan of a "pure" attribute,
but that has nothing to do with my remarks here. And no, I will not veto
the inclusion of manual annotations of pure functions.


More information about the fpc-devel mailing list