Generics "Error: Identifier not found" shown in wrong place
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
Firstly, there should be no error, and secondly, "Error: Identifier not found" is shown in wrong place:
---program---
program r17;
{$MODE DELPHI}
uses r17u01;
type
TC<T> = class
type
TA = class(TB<T>)
end;
function Foo: r17u01.TA<T>; virtual; abstract;
end;
var
V: TC<Int8>;
begin
end.
---unit---
unit r17u01;
{$mode delphi}
interface
type
TA<T> = class
end;
TB<T> = class
end;
implementation // Error: Identifier not found "r17u01"
end.
Mantis conversion info:
- Mantis ID: 25614
- Build: 26466
- Version: 2.7.1