Codetools: fix finding types declared in specialized generics (and inside classes in generics). Issue 28989

This commit is contained in:
Martin 2023-03-10 15:57:57 +01:00
parent 258d843914
commit cbda39285c

View File

@ -5311,6 +5311,12 @@ var
end else begin
IsPredefined:=true;
end;
if (fodDoNotCache in SubParams.NewFlags) then begin
Include(Params.Flags, fdfDoNotCache);
Include(Params.NewFlags, fodDoNotCache);
end;
SubParams.AppendGenericParamValues(Params.GenParams);
Params.GenParams:=SubParams.GenParams;
exit;
end;