Skip to content

[NCGenerics] add ~Escapable #70277

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 1 commit into from
Dec 10, 2023
Merged

[NCGenerics] add ~Escapable #70277

merged 1 commit into from
Dec 10, 2023

Conversation

kavon
Copy link
Member

@kavon kavon commented Dec 6, 2023

This PR introduces the Escapable and ~Escapable types with support for generics, etc, matching what ~Copyable is capable of today.

You can now use the ~Escapable type if you provide both -enable-experimental-feature NonEscapableTypes and -enable-experimental-feature NoncopyableGenerics.

resolves rdar://119216918

@kavon kavon force-pushed the inverse-escapable branch 5 times, most recently from 7cd6c44 to 0e856d9 Compare December 9, 2023 02:41
@kavon kavon marked this pull request as ready for review December 9, 2023 02:44
@kavon
Copy link
Member Author

kavon commented Dec 9, 2023

@swift-ci please smoke test

@kavon kavon enabled auto-merge December 9, 2023 02:44
@kavon kavon requested a review from atrick December 9, 2023 02:44
@kavon kavon force-pushed the inverse-escapable branch from 0e856d9 to a915c01 Compare December 9, 2023 22:55
@kavon
Copy link
Member Author

kavon commented Dec 9, 2023

@swift-ci please smoke test

@kavon kavon force-pushed the inverse-escapable branch from a915c01 to 39f21eb Compare December 10, 2023 08:10
@kavon
Copy link
Member Author

kavon commented Dec 10, 2023

@swift-ci please test

Basic implementation of `~Escapable` in the type system.

rdar://119216918
@kavon kavon force-pushed the inverse-escapable branch from 39f21eb to e99ce1c Compare December 10, 2023 09:25
@kavon
Copy link
Member Author

kavon commented Dec 10, 2023

@swift-ci please test

@kavon kavon merged commit a4a6c69 into swiftlang:main Dec 10, 2023
@kavon kavon deleted the inverse-escapable branch December 10, 2023 17:18
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.

1 participant