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 e85f8ff commit 6225b96Copy full SHA for 6225b96
lib/Sema/TypeCheckDistributed.cpp
@@ -439,7 +439,7 @@ bool swift::checkDistributedFunction(AbstractFunctionDecl *func) {
439
auto &C = func->getASTContext();
440
return evaluateOrDefault(C.evaluator,
441
CheckDistributedFunctionRequest{func},
442
- true);
+ false); // no error if cycle
443
}
444
445
bool CheckDistributedFunctionRequest::evaluate(
0 commit comments