瀏覽代碼

* 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 16 年之前
父節點
當前提交
97ba8de56c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/objcutil.pas

+ 1 - 1
compiler/objcutil.pas

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