Skip to content

Add upcoming feature flag to SE-0352 to match inclusion in compiler #2381

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-0352 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/0352-implicit-open-existentials.md#source-compatibility

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

The header includes the 'Implemented in' annotation to note that it became available in Swift 5.8, when upcoming feature flags were added. UPDATE: Changed to Swift 6.0 since that is when the UFF was fully implemented.

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

// cc-ing author and review manager to ensure this change is correct
@DougGregor @jckarter

- Use 'Implemented in' since flags were not added until Swift 5.8
- Annotate that flag is always enabled in Swift 6 language mode
@rjmccall rjmccall added LSG Contains topics under the domain of the Language Steering Group editorial Editorial change to an existing document labels Apr 1, 2024
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@dempseyatgithub
Copy link
Contributor Author

LGTM, thank you!

@DougGregor, if this is fine can you merge it? Thank you!

@DougGregor DougGregor merged commit 154bb22 into swiftlang:main Apr 4, 2024
@dempseyatgithub dempseyatgithub deleted the SE-0352-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
editorial Editorial change to an existing document 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