Skip to content

[TypeChecker] Disallow if #unavailable to produce different opaque … #42456

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 20, 2022

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 19, 2022

…result

Only if #available conditions should be allowed to produce a different
underlying type for opaque result to support backward deployment.

…result

Only `if #available` conditions should be allowed to produce a different
underlying type for opaque result to support backward deployment.
@xedin xedin requested a review from hborla April 19, 2022 22:29
@xedin
Copy link
Contributor Author

xedin commented Apr 19, 2022

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Apr 20, 2022

@swift-ci please smoke test Windows platform

@xedin xedin merged commit dbf1cb2 into swiftlang:main Apr 20, 2022
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.

2 participants