[fpc-pascal] Two possible generics bugs

Florian Klämpfl florian at freepascal.org
Sat Nov 30 18:56:16 CET 2019


Am 30.11.19 um 18:51 schrieb Sven Barth via fpc-pascal:
> Am 28.11.2019 um 16:14 schrieb Ryan Joseph via fpc-pascal:
>> {$mode objfpc}
>>
>> program test;
>> uses
>>    FGL;
>>
>> // Type identifier expected
>> // Internal error 2019112401
>> generic function CopyList<T>(source: specialize 
>> FGL.TFPGObjectList<T>): specialize FGL.TFPGObjectList<T>;
>> begin
>> end;
>>
>> begin
>> end.
>>
> What option did you use to compile it? What platform did you use? Cause 
> I can't reproduce the internal error...

r43612 | florian | 2019-11-29 23:13:17 +0100 (Fr, 29. Nov 2019) | 1 Zeile

   * better error recovery, resolves #36377

;)


More information about the fpc-pascal mailing list