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. Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel