Skip to content

Enable SE-0341 "Opaque Parameter Declarations" by default. #41444

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 2 commits into from
Feb 18, 2022

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Feb 17, 2022

This proposal has been accepted. Implement the amendment that prohibits the use of opaque types in "consuming" positions of function types (which we also did for SE-0328), enable the feature by default, and update some diagnostics to stop implying that this feature cannot be used.

Tracked by rdar://89107914

Based on the review discussion of this proposal, prohibit the use of
opaque parameters in "consuming" positions of function types, as we did
with opaque result types in SE-0328.
This proposal has been accepted, so enable it by default and update
some diagnostics to stop implying that this feature cannot be used.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

Just the one flaky test failing. Force-merging.

@DougGregor DougGregor merged commit 211ee70 into swiftlang:main Feb 18, 2022
@DougGregor DougGregor deleted the se-0341-default branch February 18, 2022 00:04
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