From 1ceb9b1665cf5277d0cdb8d458effea0ad0dd4f5 Mon Sep 17 00:00:00 2001 From: ondrej Date: Fri, 13 Nov 2015 10:42:24 +0000 Subject: [PATCH] codetools: fixed resolve type alias of expression in brackets. git-svn-id: trunk@50325 - --- components/codetools/finddeclarationtool.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index 3e00c5a5de..9003b71b90 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -8933,7 +8933,7 @@ var debugln([' FindExpressionTypeOfTerm ResolveRoundBracketOpen subexpr="',dbgstr(Src,CurAtom.StartPos,CurAtomBracketEndPos-CurAtom.StartPos),'"']); {$ENDIF} ExprType:=FindExpressionResultType(Params,CurAtom.StartPos+1, - CurAtomBracketEndPos-1); + CurAtomBracketEndPos-1, AliasType); end; end;