Skip to content

Commit 195a17d

Browse files
committed
no error by default
1 parent 7e176db commit 195a17d

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)