View Issue Details

IDProjectCategoryView StatusLast Update
0038773FPCCompilerpublic2021-04-18 18:29
ReporterRyan Joseph Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.3.1 
Summary0038773: Swapping generic method parameters crashes compiler
DescriptionThe test below crashes the compiler. I thought I reported this bug already but I couldn't find a report so I'm posting now.
Steps To Reproduce{$mode objfpc}

program test;

generic procedure DoThis<A, B>(param1: A; param2: B);
begin
end;

generic procedure DoThis<B, A>(param1: A; param2: B);
begin
end;

begin
  specialize DoThis<Integer, Integer>(1,2);
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
2021-04-18 18:29 Ryan Joseph New Issue