View Issue Details

IDProjectCategoryView StatusLast Update
0003955FPCCompilerpublic2002-04-17 12:00
ReporterFPC core teamAssigned ToPeter Vreman 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0003955: Inherited incompatibility
DescriptionCalling inherited causes the error:
identifier idents no member "FUNCTIONNAME"
this happens if parent class has no fuction of that name. Delphi in such cases just ignores the word "inherited", but fpc stops with the fatal error.
Additional InformationReporter: Yakov Sudeikin
EMail: yashka at exebook dot com
TagsNo tags attached.
Fixed in Revision
FPCOldBugId1923
FPCTarget
Attached Files
  • code.pp (181 bytes)
    program crash;
    
    type
    
    parent = class
    end;
    
    child = class
     procedure test;
    end;
    
    procedure child.test;
    begin
    inherited;
    end;
    
    end.
    
    code.pp (181 bytes)

Activities

2002-04-10 12:00

 

code.pp (181 bytes)
program crash;

type

parent = class
end;

child = class
 procedure test;
end;

procedure child.test;
begin
inherited;
end;

end.
code.pp (181 bytes)

2002-04-17 12:00

  ~0004782

Support added

Issue History

Date Modified Username Field Change