Skip to content

Commit 6225b96

Browse files
authored
[Distributed] CheckDistributedFunctionRequest no error by default
1 parent e85f8ff commit 6225b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckDistributed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ bool swift::checkDistributedFunction(AbstractFunctionDecl *func) {
439439
auto &C = func->getASTContext();
440440
return evaluateOrDefault(C.evaluator,
441441
CheckDistributedFunctionRequest{func},
442-
true);
442+
false); // no error if cycle
443443
}
444444

445445
bool CheckDistributedFunctionRequest::evaluate(

0 commit comments

Comments
 (0)