mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 01:01:33 +02:00
Fix for the visibility checking with the correct configuration.
This commit is contained in:
parent
8870c72d91
commit
d48e984ba0
@ -21031,7 +21031,7 @@ begin
|
||||
Call.AddArg(CreateRTTIArgList(Proc,Proc.ProcType.Args,AContext));
|
||||
|
||||
// add visibility
|
||||
ExtVis:=GetExtRTTIVisibilityParam(Proc,ParentEl.RTTIVisibility.Fields);
|
||||
ExtVis:=GetExtRTTIVisibilityParam(Proc,ParentEl.RTTIVisibility.Methods);
|
||||
if ExtVis<>ExtRTTIVisDefaultMethod then
|
||||
AddExtRTTIVisibility;
|
||||
|
||||
@ -21208,7 +21208,7 @@ begin
|
||||
Call.AddArg(CreateLiteralString(Prop,GetAccessorName(SetterPas)));
|
||||
|
||||
// add visibility
|
||||
ExtVis:=GetExtRTTIVisibilityParam(Prop,ParentEl.RTTIVisibility.Fields);
|
||||
ExtVis:=GetExtRTTIVisibilityParam(Prop,ParentEl.RTTIVisibility.Properties);
|
||||
if ExtVis<>ExtRTTIVisDefaultProperty then
|
||||
AddExtRTTIVisibility;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user