Skip to content

prevent uses of Escapable in general #73133

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
Apr 23, 2024
Merged

Conversation

kavon
Copy link
Member

@kavon kavon commented Apr 19, 2024

This protocol appears in the stdlib as scaffolding for the NonescapableTypes feature, which is still experimental and not gone through evolution as an approved addition to the stdlib.

Rather than delete it from the stdlib, because it needs to still remain to support that feature work, gate references to it behind a feature flag.

Additionally, prevent documentation from seeing this declaration.

rdar://126705184

@kavon
Copy link
Member Author

kavon commented Apr 19, 2024

@swift-ci test

@kavon kavon requested a review from tshortli April 22, 2024 19:06
@kavon kavon force-pushed the no-escapable-for-u branch from 7ffe96a to 13bc6b8 Compare April 23, 2024 03:38
This protocol appears in the stdlib as scaffolding for the
`NonescapableTypes` feature, which is still experimental and not gone
through evolution as an approved addition to the stdlib.

Rather than delete it from the stdlib, because it needs to still remain
to support that feature work, gate references to it behind a feature
flag.

Additionally, prevent documentation from seeing this declaration.

rdar://126705184
@kavon kavon force-pushed the no-escapable-for-u branch from 13bc6b8 to f0a69a3 Compare April 23, 2024 03:40
@kavon
Copy link
Member Author

kavon commented Apr 23, 2024

@swift-ci test

@kavon kavon enabled auto-merge April 23, 2024 03:40
@kavon kavon merged commit 590c7cd into swiftlang:main Apr 23, 2024
@kavon kavon deleted the no-escapable-for-u branch April 23, 2024 15:37
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