mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:50:32 +02:00
fixed interface scope search
git-svn-id: trunk@4131 -
This commit is contained in:
parent
dfe8ae8eee
commit
0d07751565
@ -3243,9 +3243,8 @@ begin
|
||||
// save result in cache
|
||||
if FInterfaceIdentifierCache=nil then
|
||||
FInterfaceIdentifierCache:=TInterfaceIdentifierCache.Create(Self);
|
||||
if Result then begin
|
||||
if Result and (Params.NewCodeTool=Self) then begin
|
||||
// identifier exists in interface
|
||||
if Params.NewCodeTool<>Self then RaiseWrongContext;
|
||||
if (not (fdfDoNotCache in Params.NewFlags))
|
||||
and (not (fdfCollect in Params.Flags)) then begin
|
||||
FInterfaceIdentifierCache.Add(OldInput.Identifier,Params.NewNode,
|
||||
|
Loading…
Reference in New Issue
Block a user