mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-16 18:09:06 +02:00
rtl: fixed TValue.Empty setting FData, issue 38776
This commit is contained in:
parent
16595a5696
commit
cc0be33602
@ -722,6 +722,7 @@ end;
|
|||||||
|
|
||||||
class function TValue.Empty: TValue;
|
class function TValue.Empty: TValue;
|
||||||
begin
|
begin
|
||||||
|
Result.FData := nil;
|
||||||
Result.FTypeInfo := nil;
|
Result.FTypeInfo := nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user