View Issue Details

IDProjectCategoryView StatusLast Update
0025614FPCCompilerpublic2015-01-06 14:14
ReporterMaciej Izak Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.7.1 
Summary0025614: Generics "Error: Identifier not found" shown in wrong place
DescriptionFirstly, 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.
 
Tagsgenerics
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Relationships

related to 0027206 resolvedSven Barth [Patch] Christmas gift by FreeSparta : Generics.Collections 

Activities

Maciej Izak

2014-01-25 20:05

reporter  

r17.zip (572 bytes)

Issue History

Date Modified Username Field Change
2014-01-25 20:05 Maciej Izak New Issue
2014-01-25 20:05 Maciej Izak File Added: r17.zip
2014-01-25 20:06 Maciej Izak Tag Attached: generics
2014-01-25 20:21 Jonas Maebe Summary "Error: Identifier not found" shown in wrong place => Generics "Error: Identifier not found" shown in wrong place
2015-01-06 14:14 Sven Barth Relationship added related to 0027206