Identifier not found
Original Reporter info from Mantis: Fiji
-
Reporter name: Fiji
Original Reporter info from Mantis: Fiji
- Reporter name: Fiji
Description:
Compiler doesn't find the method.
Outputs error:
project1.lpr(14,26) Error: Identifier not found "Add$1"
Steps to reproduce:
program Project1;
{$MODE DELPHI}
type
TTest1 = record
class function Add<T>(const A, B: T): T; static; inline;
end;
procedure Main();
var
I: Integer;
begin
I := TTest1.Add<Integer>(1, 2); // project1.lpr(14,26) Error: Identifier not found "Add$1"
end;
begin
Main();
end.
Mantis conversion info:
- Mantis ID: 30179
- OS: Windows
- OS Build: 8.1
- Platform: x64
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 33876 (#04adcf2a)