Generics Internal error 2010021405 for Unix 64 bits (Generics.Collections)
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
Problem on Unix 64bits (Linux, FreeBSD etc) with build of Generics.Collections library (related to #27206 (closed))
generics.collections.pas(106,42) Fatal: Internal error 2010021405
on Windows 32 and 64bits, Wince, Arm-Linux and Unix 32bits (Linux,FreeBSD etc ) all is OK
=== minimal code to generate this error ===
program p2010021405;
{$mode delphi}{$H+}
type
TEnumerator<T> = class
public
function DoGetCurrent: T; virtual; abstract;
property Current: T read DoGetCurrent; // Error: Internal error 2010021405
end;
TPair<TKey, TValue> = record
public
Key: TKey;
Value: TValue;
end;
TA<TKey, TValue> = class
public type
TDictionaryPair = TPair<TKey, TValue>;
public
E: TEnumerator<TDictionaryPair>;
end;
TB<TKey, TValue> = class(TA<TKey, TValue>)
public type
TItem = record
F: UInt32;
end;
TC = class(TA<TKey, TItem>);
end;
begin
end.
Mantis conversion info:
- Mantis ID: 27565
- Build: 29761
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 30239 (#331ace25)