Skip to content

[6.1] Enable NonEscapable types by default and move lifetime dependence support under a new feature #77708

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

Merged
merged 5 commits into from
Nov 21, 2024

Conversation

meg-gupta
Copy link
Contributor

SE-0446 is accepted - Promote NonescapableTypes feature into a LANGUAGE_FEATURE. Move lifetime dependence support under a new experimental flag.

LifetimeDependence feature flag ensures Span's use of lifetime features are appropriately printed and work with older compilers which don't understand them yet.

Cherry pick of #77637

Without this, supported old compilers which don't recognize LifetimeDependence feature but
recognize the NonEscapableTypes feature will run into lifetime dependence inference errors
on the implicit initializer generated for the stdlib's swiftinterface
@meg-gupta meg-gupta requested a review from a team as a code owner November 19, 2024 19:39
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci test macOS Platform

@meg-gupta meg-gupta merged commit 3232c04 into swiftlang:release/6.1 Nov 21, 2024
5 checks passed
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.

3 participants