Skip to content

Enable RequirementMachine for the standard library's protocol signatures #41200

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

@slavapestov slavapestov commented Feb 4, 2022

This will give us some more test coverage in CI, and fix the bogus requirement signatures in the Collection and StringProtocol protocols as a nice side effect.

Fixes rdar://problem/46313629.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

This was only passing before because -requirement-machine-protocol-signatures=verify
only checked conformance requirements, and it would return the GSB's result if there
was a mismatch. It actually never did the right thing with the Requirement Machine.

Disable it until rdar://problem/88135912 is fixed.
@slavapestov slavapestov force-pushed the enable-rqm-protocols-for-stdlib branch from 67b4489 to 76571c7 Compare February 5, 2022 00:11
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 3a4bb96 into swiftlang:main Feb 5, 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