[fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?
genericptr at gmail.com
Fri Jun 7 22:48:36 CEST 2019
> On Jun 7, 2019, at 4:44 PM, Ben Grasset <operator97 at gmail.com> wrote:
> You're just describing what is *currently* valid and not-valid syntax, which we all already know. No one has explained *why* exactly "^Type" would be somehow a negative thing in the context of method signatures, while at the same time being perfectly fine for things like both global and local variables, as well as constants. The following works, for example:
Because it’s not valid syntax to declare types in parameter lists. I think your argument is that pointers should be an exception to the rule?
More information about the fpc-devel