Skip to content

[Sema] Don't propagate allowsMissing to existential superclass check #69827

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

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Nov 13, 2023

TypeChecker::containsProtocol shouldn't propagate user-provided
allowMissing to existential superclass check because the type
could be & Sendable and allowMissing propagation would result
in invalid builtin conformance returned for a non-conforming
superclass.

`TypeChecker::containsProtocol` shouldn't propagate user-provided
`allowMissing` to existential superclass check because the type
could be `& Sendable` and `allowMissing` propagation would result
in invalid builtin conformance returned for a non-conforming
superclass.
@xedin
Copy link
Contributor Author

xedin commented Nov 13, 2023

@swift-ci please test

@xedin xedin merged commit dcbfa98 into swiftlang:main Nov 14, 2023
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