Explorar o código

* don't export the symbols for "strict private" fields (it was only not
done for regular private fields)

git-svn-id: branches/objc@13782 -

Jonas Maebe %!s(int64=16) %!d(string=hai) anos
pai
achega
97ba8de56c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/objcutil.pas

+ 1 - 1
compiler/objcutil.pas

@@ -825,7 +825,7 @@ end;
             vf:=tfieldvarsym(objccls.symtable.SymList[i]);
             vf:=tfieldvarsym(objccls.symtable.SymList[i]);
             { TODO: package visibility (private_extern) -- must not be exported
             { TODO: package visibility (private_extern) -- must not be exported
                either}
                either}
-            if (vf.visibility<>vis_private) then
+            if not(vf.visibility in [vis_private,vis_strictprivate]) then
               exportname(prefix+vf.RealName,0);
               exportname(prefix+vf.RealName,0);
           end;
           end;
     end;
     end;