Skip to content

Commit fa058f3

Browse files
committed
Make sure access notes apply before @_hasStorage
1 parent b4056c8 commit fa058f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/TypeCheckDeclPrimary.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
16491649
// when the VarDecl is merely used from another file.
16501650

16511651
// Compute these requests in case they emit diagnostics.
1652+
TypeChecker::applyAccessNote(VD);
16521653
(void) VD->getInterfaceType();
16531654
(void) VD->isGetterMutating();
16541655
(void) VD->isSetterMutating();

0 commit comments

Comments
 (0)