Generics illegal expression (specialization inside class)
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
I can't compile attached code (in Delphi it's ok):
{$mode delphi}{$H+}
type
TA<T> = class
end;
TB<T> = class
type
TA = TA<T>; // Error: Illegal expression
end;
Mantis conversion info:
- Mantis ID: 24286
- Version: 2.7.1