View Issue Details

IDProjectCategoryView StatusLast Update
0037899FPCCompilerpublic2020-10-09 14:38
ReporterFr0sT Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWindows 
Product Version3.3.1 
Summary0037899: Add hint about possibly undefined function result
DescriptionThe code below produces "[DCC Warning] Project1.dpr(211): W1035 Return value of function 'test' might be undefined" on Delphi but no reaction on FPC. It's very important check though.
Steps To Reproducefunction test: byte;
begin
  try
    WriteLn('foo');
    result := 0;
  except
  end;
end;
Tagscompiler, hint
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-10-09 14:37 Fr0sT New Issue
2020-10-09 14:37 Fr0sT Tag Attached: compiler
2020-10-09 14:37 Fr0sT Tag Attached: hint