Internal Error 2016121703 when using nested proc with generic parameter
Original Reporter info from Mantis: Martok @martok
-
Reporter name:
Original Reporter info from Mantis: Martok @martok
- Reporter name:
Description:
Nested procedures in generic procedures or methods of generic classes and records fail to compile with internal error 2016121703.
Below is a minimum example.
Steps to reproduce:
generic procedure MyProc<T>();
function Comp(const Item1, Item2: T): Integer;
begin
Result:= 0;
end;
begin
end;
begin
specialize MyProc<Integer>();
end.
Mantis conversion info:
- Mantis ID: 33013
- Build: trunk-20171225