Skip to content

Commit 807ca8d

Browse files
committed
getActorIsolation() actually needn't be called from visitBoundVariable()
1 parent 30435bb commit 807ca8d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Sema/TypeCheckDeclPrimary.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2146,11 +2146,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
21462146
(void) VD->getPropertyWrapperAuxiliaryVariables();
21472147
(void) VD->getPropertyWrapperInitializerInfo();
21482148
(void) VD->getImplInfo();
2149-
// Declarations inside types are handled in checkConformancesInContext() to
2150-
// avoid cycles involving associated type inference.
2151-
if (!VD->getDeclContext()->isTypeContext()) {
2152-
(void)getActorIsolation(VD);
2153-
}
21542149

21552150
// Visit auxiliary decls first
21562151
VD->visitAuxiliaryDecls([&](VarDecl *var) {

0 commit comments

Comments
 (0)