Generics type name conflict (Identifier not found)
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(TObject);
TB<T> = class(TA< T >);
TC<T> = class
public
type
TA = class(TB<T>);
function Foo: TA<T>; virtual; abstract; // Error: Identifier not found "TA$1"
end;
var
C: TC<string>;
Mantis conversion info:
- Mantis ID: 24287
- Version: 2.7.1
- Fixed in version: 3.1.1