View Issue Details

IDProjectCategoryView StatusLast Update
0024286FPCCompilerpublic2015-01-06 14:09
ReporterMaciej Izak Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.7.1 
Summary0024286: Generics illegal expression (specialization inside class)
DescriptionI can't compile attached code (in Delphi it's ok):

{$mode delphi}{$H+}

type
  TA<T> = class
  end;

  TB<T> = class
    type
      TA = TA<T>; // Error: Illegal expression
  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

2013-04-17 00:58

reporter  

project12.lpr (149 bytes)

Issue History

Date Modified Username Field Change
2013-04-17 00:58 Maciej Izak New Issue
2013-04-17 00:58 Maciej Izak File Added: project12.lpr
2013-04-17 00:58 Maciej Izak Tag Attached: generics
2015-01-06 14:09 Sven Barth Relationship added related to 0027206