Skip to content

Sema: Diagnose missing entries in protocol inheritance clause when requirement machine is enabled #42187

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

slavapestov
Copy link
Contributor

This diagnostic used to be emitted by the GenericSignatureBuilder when
building a requirement signature, but we can just do the check in
Sema using generic signature queries instead.

Fixes rdar://problem/90192939.

@slavapestov slavapestov requested a review from hborla April 5, 2022 16:45
…quirement machine is enabled

This diagnostic used to be emitted by the GenericSignatureBuilder when
building a requirement signature, but we can just do the check in
Sema using generic signature queries instead.

Fixes rdar://problem/90192939.
@slavapestov slavapestov force-pushed the rqm-diagnose-protocol-refinement branch from b0ff5fa to a0b180f Compare April 5, 2022 22:41
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 5736167 into swiftlang:main Apr 6, 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.

1 participant