View Issue Details

IDProjectCategoryView StatusLast Update
0021539FPCCompilerpublic2019-07-18 21:26
ReporterJC ChuAssigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status confirmedResolutionopen 
Platformx86_64OSWindows NTOS Version6.1.7601
Product Version2.7.1Product Build 
Target VersionFixed in Version 
Summary0021539: In Delphi mode, nested inline generic type specialization is not supported
DescriptionSame as summary; see attached file for a demo.
Tagsgenerics
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Relationships

has duplicate 0022755 resolvedSven Barth Compiler doesn't support generic of generic 

Activities

2012-03-23 15:45

 

NestedInlineSpecialization.pas (127 bytes)
{$IFDEF FPC}
  {$MODE DELPHI}
{$ENDIF}

type TWrapper<T> = record end;

var Z: TWrapper<TWrapper<Byte>>;

begin
end.

Sven Barth

2012-09-01 13:52

manager   ~0062020

Yes, nested specializations are currently not supported, but they are definitely on my near-term ToDo list.

Regards,
Sven

Issue History

Date Modified Username Field Change
2012-03-23 15:45 JC Chu New Issue
2012-03-23 15:45 JC Chu File Added: NestedInlineSpecialization.pas
2012-03-23 15:45 JC Chu Tag Attached: generics
2012-09-01 13:51 Sven Barth Relationship added has duplicate 0022755
2012-09-01 13:52 Sven Barth Note Added: 0062020
2012-09-01 13:52 Sven Barth Status new => confirmed