[fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?

Florian Klämpfl florian at freepascal.org
Sun Jun 9 17:25:56 CEST 2019


Am 09.06.2019 um 17:23 schrieb Ryan Joseph:
> 
> 
>> On Jun 9, 2019, at 9:45 AM, Florian Klämpfl <florian at freepascal.org> wrote:
>>
>> And? It is obvious that FPC has to know what's the base type of a pointer else it couldn't do type checking.
> 
> I think all he means is this:
> 
> type
>   TInt = ^integer;
> 
> procedure DoThis(i: TInt);
> begin
> end;
> 
> var
>   a: ^integer;
> begin
>   DoThis(a0);
> 
> He just wants function parameters to declare the new pointer type inline.

Yes, but this has *nothing* to do with the output of -vp. Nothing.



More information about the fpc-devel mailing list