View Issue Details

IDProjectCategoryView StatusLast Update
0014650FPCCompilerpublic2009-10-02 18:37
Reportertheo Assigned ToJonas Maebe  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version2.2.4 
Fixed in Version2.6.0 
Summary0014650: Access private field in different unit.
Descriptionuses contnrs;

type
  TPublicQueueList = class(TQueue)
  public
    property List: TList read FList;
  end;

This compiles. FList is private in TOrderedList.
Isn't this a lesson 0000001 no-go in OOP?
TagsNo tags attached.
Fixed in Revision13794
FPCOldBugId
FPCTarget
Attached Files

Activities

theo

2009-10-02 18:37

reporter   ~0031088

Thanks

Issue History

Date Modified Username Field Change
2009-09-21 19:44 theo New Issue
2009-10-02 15:51 Jonas Maebe Fixed in Revision => 13794
2009-10-02 15:51 Jonas Maebe Status new => resolved
2009-10-02 15:51 Jonas Maebe Fixed in Version => 2.5.1
2009-10-02 15:51 Jonas Maebe Resolution open => fixed
2009-10-02 15:51 Jonas Maebe Assigned To => Jonas Maebe
2009-10-02 18:37 theo Status resolved => closed
2009-10-02 18:37 theo Note Added: 0031088