0
Fixed

[W527] False positive with inherited

Anonymous 10 years ago updated by Roman 10 years ago 3
inherited access to a property leads to false positive W527

[code]
interface

type
TFoo = class(TObject)
private
FReadOnly: Boolean;
public
property ReadOnly: Boolean read FReadOnly write FReadOnly;
end;

TBar = class(TFoo)
private
procedure SetReadOnly(Value: Boolean);
published
property ReadOnly: Boolean write SetReadOnly;
end;

implementation

{ TBar }

procedure TBar.SetReadOnly(Value: Boolean);
begin
inherited ReadOnly := Value;
end;
[code]