Skip to content

Add upcoming feature flag to SE-0412 to match inclusion in compiler #2382

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

Conversation

dempseyatgithub
Copy link
Contributor

@dempseyatgithub dempseyatgithub commented Mar 27, 2024

An upcoming feature flag is included for SE-0412 in the definition of upcoming features in the compiler.

The proposal itself notes the possibly of source incompatibilities that should be rare in practice:
https://github.com/apple/swift-evolution/blob/main/proposals/0412-strict-concurrency-for-global-variables.md#source-compatibility

This PR adds the upcoming feature flag to the proposal header.

The header also includes the new 'Enabled in Swift 6 language mode' annotation to indicating when the feature will be enabled.

// cc-ing authors and review manager to ensure this change is correct
@jckarter @sophiapoirier @hborla

- Annotate that flag is always enabled in Swift 6 language mode
@rjmccall rjmccall added the LSG Contains topics under the domain of the Language Steering Group label Apr 1, 2024
@rjmccall rjmccall merged commit d0adced into swiftlang:main Apr 1, 2024
@dempseyatgithub dempseyatgithub deleted the SE-0412-add-missing-upcoming-feature-flag branch April 17, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSG Contains topics under the domain of the Language Steering Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants