* Avoid AV

This commit is contained in:
Michaël Van Canneyt 2022-02-12 19:40:57 +01:00
parent ecef61e9c5
commit 51ce1e883f

View File

@ -5301,6 +5301,7 @@ begin
S.Add(GetOperatorDeclaration(Full));
ProcType.GetArguments(S);
If Assigned((Proctype as TPasFunctionType).ResultEl) then
if Assigned(TPasFunctionType(ProcType).ResultEl.ResultType) then
With TPasFunctionType(ProcType).ResultEl.ResultType do
begin
T:=' : ';