mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 15:40:40 +02:00
codetools: find declaration: default property for interface, bug #14151
git-svn-id: trunk@20871 -
This commit is contained in:
parent
69d68a7b86
commit
11ffbb8264
@ -6399,10 +6399,10 @@ var
|
||||
ExprType.Context:=ExprType.Context.Tool.FindBaseTypeOfNode(Params,
|
||||
ExprType.Context.Node.FirstChild);
|
||||
|
||||
ctnClass, ctnProperty, ctnGlobalProperty:
|
||||
ctnClass, ctnClassInterface, ctnProperty, ctnGlobalProperty:
|
||||
begin
|
||||
if ExprType.Context.Node.Desc=ctnClass then begin
|
||||
// search default property of the class
|
||||
if ExprType.Context.Node.Desc in [ctnClass,ctnClassInterface] then begin
|
||||
// search default property of the class / interface
|
||||
Params.Save(OldInput);
|
||||
Params.Flags:=[fdfSearchInAncestors,fdfExceptionOnNotFound]
|
||||
+fdfGlobals*Params.Flags;
|
||||
|
Loading…
Reference in New Issue
Block a user