Delphi-Quellcode:
unit FixInsight;
interface
implementation
type
TEnum = (dummy1, dummy2);
function TestFixInsight(): TEnum;
begin
Exit(TEnum.dummy1)
end;
end.
FixInsight meldet "[FixInsight Warning] FixInsight.pas(10): W521 Return value of function 'TestFixInsight' might be undefined".
Ist das ein Bug?