internal error2020011402 with constants in generics using IntegerArray as parameter
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
I hate to spoil the party, but during tests for this nice new feature I encountered internal error 2020011402
testconstgen.pas(6,41) Fatal: Internal error 2020011402
The mode does not matter, either mode objfpc or mode Delphi
This error is in pgeenutil.pp, line 1433
Steps to reproduce:
Mode objfpc:
-----
{$mode objfpc}{$H+}
type
generic TTest <T,const N:Tintegerarray> = class
end;
begin
end.[/code]
-----
Mode Delphi:
-----
{$mode delphi}{$H+}
type
TTest <T,const N:Tintegerarray> = class
end;
begin
end.
----
Additional information:
I hope it is something trivial....
Mantis conversion info:
- Mantis ID: 36975
- OS: Raspbian
- OS Build: Buster
- Build: 45080
- Platform: armhf
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 45089 (#a4673321)