Fix for default value of a class of type.

This commit is contained in:
Henrique Gottardi Werlang 2024-01-26 16:32:36 -03:00 committed by Michael Van Canneyt
parent b32573d1eb
commit 664f8fc2ba

View File

@ -15131,7 +15131,7 @@ begin
ReleaseEvalValue(Value);
end;
end
else if (C=TPasClassType) or (C=TPasPointerType) then
else if (C=TPasClassType) or (C=TPasPointerType) or (C=TPasClassOfType) then
begin
Result:=CreateLiteralNull(El);
exit;