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 6e14999 commit eb04729Copy full SHA for eb04729
lib/Sema/TypeCheckConcurrency.cpp
@@ -4249,7 +4249,9 @@ void swift::checkFunctionActorIsolation(AbstractFunctionDecl *decl) {
4249
ActorIsolationChecker checker(decl);
4250
if (auto body = decl->getBody()) {
4251
body->walk(checker);
4252
- if(ctx.LangOpts.hasFeature(Feature::GroupActorErrors)){ checker.diagnoseIsolationErrors(); }
+ if (ctx.LangOpts.hasFeature(Feature::GroupActorErrors)) {
4253
+ checker.diagnoseIsolationErrors();
4254
+ }
4255
}
4256
if (auto ctor = dyn_cast<ConstructorDecl>(decl)) {
4257
if (auto superInit = ctor->getSuperInitCall())
0 commit comments