Fixed TRttiRecordType.ResolveProperties (records do not have a published section)

This commit is contained in:
Lipinast Lekrisov 2024-11-03 20:28:09 +00:00
parent f7bcabd956
commit 2469fe8d70

View File

@ -6453,13 +6453,12 @@ var
begin
List:=Nil;
FPropertiesResolved:=True;
if FUsePublishedOnly then
aCount:=GetPropListEx(FTypeinfo,List,[vcPublished])
else
aCount:=GetPropListEx(FTypeinfo,List);
Exit;
aCount:=GetPropListEx(FTypeinfo,List);
PropCount:=aCount;
J := 0;
FPropertiesResolved:=True;
try
SetLength(FProperties,aCount);
For I:=0 to aCount-1 do