mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 21:50:07 +02:00
Fix for default value of a class of type.
This commit is contained in:
parent
b32573d1eb
commit
664f8fc2ba
@ -15131,7 +15131,7 @@ begin
|
|||||||
ReleaseEvalValue(Value);
|
ReleaseEvalValue(Value);
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else if (C=TPasClassType) or (C=TPasPointerType) then
|
else if (C=TPasClassType) or (C=TPasPointerType) or (C=TPasClassOfType) then
|
||||||
begin
|
begin
|
||||||
Result:=CreateLiteralNull(El);
|
Result:=CreateLiteralNull(El);
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user