[fpc-devel] C-block reference syntax (blocker for 3.2)

Martin Frb lazarus at mfriebe.de
Thu Dec 12 17:13:45 CET 2019


On 12/12/2019 17:05, Sven Barth via fpc-devel wrote:
>
> For array of const it is not allowed, but any other open array 
> parameter allows it.
>
Ah, interesting.

So then there stands my point from the first mail I wroth in this thread:

IIRC
- the "do not drop []" arguments, where based on design principles.
- the "do drop []" where based on, it will still compile, nothing will 
break, the same code can and will be generated. It is only a different 
syntax for the same thing.

Apologies if I misread either side, but the above is what I got....

I brought an example, where actually the "drop [] for last param" would 
break code.
Therefore it no longer matters if it is or is not against good design. 
Dropping the [], (in the new case, for last param) will break code that 
otherwise would be fine.



More information about the fpc-devel mailing list