View Issue Details

IDProjectCategoryView StatusLast Update
0024283FPCCompilerpublic2019-08-09 10:26
ReporterMaciej IzakAssigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version2.7.1Product Build 
Target VersionFixed in Version 
Summary0024283: Generics syntax error, ">" expected but "<" found
DescriptionI can't compile attached code:

{$mode delphi}{$H+}

type
  TA<T> = record
  end;

  TB<T> = class
  end;

  TC<T> = class(TB<TA<T>>)
  end;
Tagsgenerics
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Relationships

related to 0030503 acknowledgedSven Barth Problem compiling a code using TArray<TArray<Double>> 
related to 0035934 acknowledgedSven Barth Class variable declaration of nested generic classes type 
has duplicate 0026939 resolvedSven Barth Error compiling nested templates 
related to 0027206 resolvedSven Barth [Patch] Christmas gift by FreeSparta : Generics.Collections 
related to 0019535 acknowledged Cannot use generic based on other generic 

Activities

Maciej Izak

2013-04-16 13:27

reporter  

project10.lpr (159 bytes)

Sven Barth

2013-04-17 11:34

manager   ~0066994

Nested inline specializations are simply not supported yet => not a block

Regards,
Sven

silvioprog

2016-08-19 17:54

reporter   ~0094196

It compiles fine with latest version. Is this bug solved?

Thaddy de Koning

2016-08-21 10:27

reporter   ~0094233

It seems solved indeed.

Issue History

Date Modified Username Field Change
2013-04-16 13:27 Maciej Izak New Issue
2013-04-16 13:27 Maciej Izak File Added: project10.lpr
2013-04-16 13:27 Maciej Izak Tag Attached: generics
2013-04-17 11:34 Sven Barth Note Added: 0066994
2013-04-17 11:34 Sven Barth Severity block => feature
2015-01-06 14:02 Sven Barth Relationship added related to 0027206
2015-10-02 14:12 Sven Barth Relationship added has duplicate 0026939
2016-08-19 17:54 silvioprog Note Added: 0094196
2016-08-21 10:27 Thaddy de Koning Note Added: 0094233
2016-08-22 19:57 Sven Barth Relationship added related to 0019535
2019-08-09 10:25 Sven Barth Relationship added related to 0030503
2019-08-09 10:26 Sven Barth Relationship added related to 0035934