Skip to content

Commit c531f29

Browse files
committed
[Concurrency] Fix missing return in legacy isSameExecutor mode detection
resolves rdar://128425368 resolves rdar://127400013
1 parent bdc959f commit c531f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static IsCurrentExecutorCheckMode isCurrentExecutorMode =
340340
// these symbols defined
341341
bool swift_bincompat_useLegacyNonCrashingExecutorChecks() {
342342
#if !SWIFT_CONCURRENCY_EMBEDDED
343-
swift::runtime::bincompat::
343+
return swift::runtime::bincompat::
344344
swift_bincompat_useLegacyNonCrashingExecutorChecks();
345345
#endif
346346
return false;

0 commit comments

Comments
 (0)