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

RequirementMachine: More fixes for property map induced rules #40752

Merged

Conversation

slavapestov
Copy link
Member

No description provided.

@slavapestov slavapestov force-pushed the rqm-more-property-map-rewrite-loops branch from ce807c6 to e57d6ea Compare January 6, 2022 04:58
…ion domain

When minimizing a generic signature, we only care about loops
where the basepoint is a generic parameter symbol.

When minimizing protocol requirement signatures in a connected
component, we only care about loops where the basepoint is a
protocol symbol or associated type symbol whose protocol is
part of the connected component.

All other loops can be discarded since they do not encode
redundancies that are relevant to us.
@slavapestov slavapestov force-pushed the rqm-more-property-map-rewrite-loops branch from e57d6ea to 746f4a5 Compare January 6, 2022 04:59
@slavapestov
Copy link
Member Author

@swift-ci Please smoke test

@slavapestov
Copy link
Member Author

@swift-ci Please test source compatibility

@slavapestov slavapestov merged commit 8e2f122 into apple:main Jan 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.

None yet

1 participant