Class type expected, but got "<erroneous type>" error in non generic descendant class
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
Probably related to http://bugs.freepascal.org/view.php?id=24285
I can't compile attached code:
------
{$MODE DELPHI}
type
TA<T1, T2> = class(TObject);
TA<T> = class(TA<T, Byte>);
TA = class(TA<Byte>); // Error: class type expected, but got "<erroneous type>"
begin
end.
Mantis conversion info:
- Mantis ID: 26030
- Version: 2.7.1
- Monitored by: » SDN (SDN)