View Issue Details

IDProjectCategoryView StatusLast Update
0036584FPCCompilerpublic2020-01-15 06:44
ReporterRyan JosephAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.3.1Product Build 
Target VersionFixed in Version 
Summary0036584: Generic constraints should not be allowed in definitions (Delphi mode)
DescriptionThe test program should produce an error but currently does not.
Steps To Reproduce{$mode delphi}
program test;

type
 TFooA = class
 end;

type
 TFooB = class
 end;

type
 TList<T: TFooA> = class
   procedure Foo;
 end;

procedure TList<T: TFooB>.Foo;
begin
end;

begin
end.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-15 06:44 Ryan Joseph New Issue