mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:20:34 +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
|
// save result in cache
|
||||||
if FInterfaceIdentifierCache=nil then
|
if FInterfaceIdentifierCache=nil then
|
||||||
FInterfaceIdentifierCache:=TInterfaceIdentifierCache.Create(Self);
|
FInterfaceIdentifierCache:=TInterfaceIdentifierCache.Create(Self);
|
||||||
if Result then begin
|
if Result and (Params.NewCodeTool=Self) then begin
|
||||||
// identifier exists in interface
|
// identifier exists in interface
|
||||||
if Params.NewCodeTool<>Self then RaiseWrongContext;
|
|
||||||
if (not (fdfDoNotCache in Params.NewFlags))
|
if (not (fdfDoNotCache in Params.NewFlags))
|
||||||
and (not (fdfCollect in Params.Flags)) then begin
|
and (not (fdfCollect in Params.Flags)) then begin
|
||||||
FInterfaceIdentifierCache.Add(OldInput.Identifier,Params.NewNode,
|
FInterfaceIdentifierCache.Add(OldInput.Identifier,Params.NewNode,
|
||||||
|
Loading…
Reference in New Issue
Block a user