Skip to content

Commit e90e5ca

Browse files
committed
fix checkDistributedTargetResultType to also return when not diagnosing
1 parent 05cc422 commit e90e5ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Sema/TypeCheckDistributed.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,9 @@ static bool checkDistributedTargetResultType(
421421
addCodableFixIt(resultNominalType, diag);
422422
}
423423
}
424-
425-
return true;
426-
}
424+
} // end if: diagnose
425+
426+
return true;
427427
}
428428
}
429429

0 commit comments

Comments
 (0)