Skip to content
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

[Features] Update upcoming feature flags for Swift 6. #70123

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

hborla
Copy link
Member

@hborla hborla commented Nov 30, 2023

Changes and additions to upcoming feature flags for Swift 6 as described in https://forums.swift.org/t/progress-toward-the-swift-6-language-mode/68315.

  • Don't enable ExistentialAny by default in Swift 6.
  • Gate SE-0383 behind an upcoming feature flag.
  • Add an upcoming feature flag for complete concurrency checking, which enables all data-race safety upcoming features. This replaces the StrictConcurrency experimental feature flag, which was added so that packages can take advantage of -strict-concurrency=complete. Note that the upcoming feature flag is under a new name (CompleteConcurrency) and the StrictConcurrency experimental feature flag is still intact so that existing uses of -enable-experimental-feature StrictConcurrency continue to enable complete concurrency checking.

@hborla
Copy link
Member Author

hborla commented Nov 30, 2023

@swift-ci please smoke test

@hborla hborla merged commit 2aa8d56 into apple:main Dec 1, 2023
3 checks passed
@hborla hborla deleted the swift-6-upcoming-features branch December 1, 2023 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant