mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
codetools: fixed FixAliasDefintions for typecasts to const
git-svn-id: trunk@12426 -
This commit is contained in:
parent
10750bea84
commit
c95365d362
@ -1414,7 +1414,7 @@ var
|
||||
if WordIsKeyWord.DoIt(@Src[ReferingPos]) then exit;
|
||||
// this is a type cast
|
||||
NeededType:=ctnConstDefinition;
|
||||
GetReferingNode;
|
||||
//GetReferingNode;
|
||||
if (ReferingNode<>nil) then begin
|
||||
// ToDo: check if it is a typecast to a procedure type
|
||||
// then the alias should be replaced with a procdure
|
||||
|
Loading…
Reference in New Issue
Block a user