mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-23 02:09:27 +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;
|
||||
begin
|
||||
Result.FData := nil;
|
||||
Result.FTypeInfo := nil;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user