mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 10:58:15 +02:00
codetools: do not add found public properties twice
git-svn-id: trunk@20969 -
This commit is contained in:
parent
0dadadf245
commit
de301ed56c
@ -891,6 +891,7 @@ var
|
||||
exit(true);
|
||||
end;
|
||||
end;
|
||||
//DebugLn(['ProtectedNodeIsInAllowedClass hidden: ',FindContextToString(FoundContext)]);
|
||||
|
||||
Result:=false;
|
||||
end;
|
||||
@ -916,6 +917,7 @@ var
|
||||
TAVLTree.Create(TListSortCompare(@CompareIdentifiers))
|
||||
end else if FoundPublicProperties.Find(Ident)<>nil then begin
|
||||
// identifier is already public
|
||||
exit;
|
||||
end;
|
||||
FoundPublicProperties.Add(Ident);
|
||||
//debugln('SavePublicPublishedProperty Identifier=',GetIdentifier(Ident),' Find=',dbgs(FoundPublicProperties.Find(Ident)<>nil));
|
||||
|
Loading…
Reference in New Issue
Block a user