Skip to content

[6.0][Concurrency] Fix missing return in legacy isSameExecutor mode detection #73774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 21, 2024

Description: Fixes a missing return inside the #if !SWIFT_CONCURRENCY_EMBEDDED region which caused the entire dyld sdk detection not to work in practice.

Scope/Impact: dyld detection of "compiled against old sdk" was rendered useless by this typo; which may cause old applications to start crashing without recompiling.
Risk: Low; fixes trivial missing return statement.
Testing: CI testing
Reviewed by: @mikeash

Original PR:
Radar: rdar://128425368 rdar://127400013

resolves rdar://128425368
resolves rdar://127400013
@ktoso ktoso requested a review from a team as a code owner May 21, 2024 01:54
@ktoso ktoso requested a review from mikeash May 21, 2024 01:55
@ktoso
Copy link
Contributor Author

ktoso commented May 21, 2024

@swift-ci please test

@ktoso ktoso changed the title [Concurrency] Fix missing return in legacy isSameExecutor mode detection [6.0][Concurrency] Fix missing return in legacy isSameExecutor mode detection May 21, 2024
@ktoso ktoso added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 concurrency Feature: umbrella label for concurrency language features labels May 21, 2024
@ktoso
Copy link
Contributor Author

ktoso commented May 22, 2024

Will be replaced by #73813 when we pick it to 6.0

@ktoso ktoso closed this May 22, 2024
@ktoso ktoso deleted the pick-wip-missing-return branch May 22, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency Feature: umbrella label for concurrency language features 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant