We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1719f0c commit 5d160b6Copy full SHA for 5d160b6
lib/Serialization/Serialization.cpp
@@ -2710,7 +2710,7 @@ void Serializer::writeDecl(const Decl *D) {
2710
!value->getDeclContext()->isLocalContext() &&
2711
(access <= swift::AccessLevel::FilePrivate ||
2712
(storage &&
2713
- storage->getAccessLevel() == swift::AccessLevel::Internal &&
+ storage->getFormalAccess() == swift::AccessLevel::Internal &&
2714
storage->hasPrivateAccessor()));
2715
2716
if (shouldEmitFilenameForPrivate || shouldEmitPrivateDescriminator) {
0 commit comments