View Issue Details

IDProjectCategoryView StatusLast Update
0021809FPCCompilerpublic2012-04-20 04:38
ReporterAlexander S. Klenin Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0021809: Class helper property can not use accessor from extended class
DescriptionThe following code does not compile:

type
  TC = class
  public
    function G: Integer;
  end;

  TH = class helper for TC
  public
    property P: Integer read G;
  end;
Additional InformationThere is, of course, a workaround for adding the same function
to the helper, but it is awkward to do.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

2012-04-20 04:38

 

Issue History

Date Modified Username Field Change
2012-04-20 04:38 Alexander S. Klenin New Issue
2012-04-20 04:38 Alexander S. Klenin File Added: helper_class_accessor.pp