Browse Source

fcl-passrc: fixed foreach TAliasType.Expr

git-svn-id: trunk@43321 -
Mattias Gaertner 5 years ago
parent
commit
827c5ad389
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-passrc/src/pastree.pp

+ 1 - 0
packages/fcl-passrc/src/pastree.pp

@@ -4092,6 +4092,7 @@ procedure TPasAliasType.ForEachCall(const aMethodCall: TOnForEachPasElement;
 begin
   inherited ForEachCall(aMethodCall, Arg);
   ForEachChildCall(aMethodCall,Arg,DestType,true);
+  ForEachChildCall(aMethodCall,Arg,Expr,false);
 end;
 
 procedure TPasAliasType.ClearTypeReferences(aType: TPasElement);