View Issue Details

IDProjectCategoryView StatusLast Update
0024534FPCCompilerpublic2015-01-06 14:11
ReporterMaciej Izak Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status confirmedResolutionopen 
Product Version2.7.1 
Summary0024534: Generics variable identifier expected error for const pointer to static method.
DescriptionI can't compile attached code:

{$mode delphi}

type
  TA<T> = class
  public
    class procedure Foo; static;
  end;

  class procedure TA<T>.Foo;
  begin
  end;

const
  X: Pointer = @TA<string>.Foo; // Error: Variable identifier expected
Tagsgenerics
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Relationships

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

Activities

Maciej Izak

2013-06-02 12:35

reporter  

project17.lpr (242 bytes)

Issue History

Date Modified Username Field Change
2013-06-02 12:35 Maciej Izak New Issue
2013-06-02 12:35 Maciej Izak File Added: project17.lpr
2013-06-02 12:35 Maciej Izak Tag Attached: generics
2013-06-02 13:20 Sven Barth Status new => confirmed
2015-01-06 14:11 Sven Barth Relationship added related to 0027206