Skip to content

Commit 3b05eb5

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

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
@@ -339,7 +339,7 @@ static IsCurrentExecutorCheckMode isCurrentExecutorMode =
339339
// these symbols defined
340340
bool swift_bincompat_useLegacyNonCrashingExecutorChecks() {
341341
#if !SWIFT_CONCURRENCY_EMBEDDED
342-
swift::runtime::bincompat::
342+
return swift::runtime::bincompat::
343343
swift_bincompat_useLegacyNonCrashingExecutorChecks();
344344
#endif
345345
return false;

0 commit comments

Comments
 (0)