"Fatal: No memory left" for generic code
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
How to crash the compiler (infinity loop and Fatal error "No memory left"):
------
{$MODE DELPHI}
type
TA<T1, T2> = class
end;
TB<T1, T2> = class
private
type
T3 = record end;
TC = class(TA<T1, T3>)
public
procedure Foo;
end;
end;
procedure TB<T1, T2>.TC.Foo;
var
L: TB<T1, T2>.T3;
begin
end;
var
x: TB<Pointer, Pointer>;
Mantis conversion info:
- Mantis ID: 25917
- Version: 2.7.1
- Fixed in version: 3.1.1
- Fixed in revision: 29486 (#0d1d3d8e)