Skip to content
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

Cleanups and fixes for opened existentials #69950

Merged
merged 10 commits into from
Nov 28, 2023

Conversation

slavapestov
Copy link
Contributor

Also:

  • Removes the 'inferred result type requires explicit coercion' diagnostic, which was meant to hold down the fort until constrained existential types landed. At this point it's no longer helpful, and the check it tries to perform is actually very difficult if not impossible to implement correctly.
  • Cleans up duplicated logic for erasing opened existentials.

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit f89b981 into swiftlang:main Nov 28, 2023
3 checks passed
xedin added a commit to xedin/swift that referenced this pull request Jan 24, 2024
…entials

Reverts part of swiftlang#69950 because
it causes failure in existing code.
xedin added a commit to xedin/swift that referenced this pull request Jan 24, 2024
…entials

Reverts part of swiftlang#69950 because
it causes failure in existing code.
carlos4242 pushed a commit to carlos4242/swift that referenced this pull request May 31, 2024
…entials

Reverts part of swiftlang#69950 because
it causes failure in existing code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants