mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-08 10:30:05 +02:00
rtl: fixed TValue.Empty setting FData, issue 38776
This commit is contained in:
parent
0f656ddf5f
commit
8ee8c55c49
@ -822,6 +822,7 @@ end;
|
||||
|
||||
class function TValue.Empty: TValue;
|
||||
begin
|
||||
Result.FData := nil;
|
||||
Result.FTypeInfo := nil;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user