mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 22:39:11 +02:00
Fixed TRttiRecordType.ResolveProperties (records do not have a published section)
This commit is contained in:
parent
f7bcabd956
commit
2469fe8d70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user