Skip to content

Commit fbf9708

Browse files
committed
Ensure that we always compute actor isolation for primary decls
1 parent b17cff4 commit fbf9708

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Sema/TypeCheckDeclPrimary.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,6 +1681,9 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
16811681
(void) VD->isObjC();
16821682
(void) VD->isDynamic();
16831683

1684+
// Check for actor isolation.
1685+
(void)getActorIsolation(VD);
1686+
16841687
// If this is a member of a nominal type, don't allow it to have a name of
16851688
// "Type" or "Protocol" since we reserve the X.Type and X.Protocol
16861689
// expressions to mean something builtin to the language. We *do* allow

0 commit comments

Comments
 (0)