Skip to content

Commit 0a45bac

Browse files
committed
Ensure that we always compute actor isolation for primary decls
1 parent dd7eacb commit 0a45bac

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
@@ -1577,6 +1577,9 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
15771577
(void) VD->isObjC();
15781578
(void) VD->isDynamic();
15791579

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

0 commit comments

Comments
 (0)