Generic function + SysUtils unit elicits Internal error 200204175
Original Reporter info from Mantis: ryan_joseph @genericptr
-
Reporter name: Ryan Joseph
Original Reporter info from Mantis: ryan_joseph @genericptr
- Reporter name: Ryan Joseph
Description:
The important part here is adding SysUtils to the program, otherwise there are no errors.
Steps to reproduce:
{$mode objfpc}
program test;
uses
SysUtils, FGL;
generic function CopyList<T: TFPSList> (source: T): T;
begin
// Internal error 200204175
result := T.Create;
end;
begin
end.
Mantis conversion info:
- Mantis ID: 36388
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43629 (#927c91e0)