mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:49:23 +02:00
fcl-passrc: fixed publish all members for typeinfo
This commit is contained in:
parent
925dc4bc75
commit
7be86f4635
@ -1296,12 +1296,8 @@ begin
|
|||||||
continue; // attributes are never used directly
|
continue; // attributes are never used directly
|
||||||
if IsGenericElement(Member) then
|
if IsGenericElement(Member) then
|
||||||
continue;
|
continue;
|
||||||
if Member.ClassType=TPasVariable then
|
// all members, even if not used
|
||||||
// all fields, even if not used
|
UseSubEl(Member);
|
||||||
UseSubEl(Member)
|
|
||||||
else if IsUsed(Member) then
|
|
||||||
// all used non fields
|
|
||||||
UseSubEl(Member);
|
|
||||||
end;
|
end;
|
||||||
UseSubEl(Rec.VariantEl);
|
UseSubEl(Rec.VariantEl);
|
||||||
if Rec.Variants<>nil then
|
if Rec.Variants<>nil then
|
||||||
|
Loading…
Reference in New Issue
Block a user