Skip to content

RequirementMachine: Enable -requirement-machine-abstract-signatures=verify by default #41631

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 Mar 2, 2022

If this needs to be reverted, it is sufficient to revert the final commit. The other commits should still pass tests with that one reverted.

@slavapestov slavapestov force-pushed the rqm-abstract-signatures-on-by-default branch 2 times, most recently from 68c8675 to e540fda Compare March 4, 2022 05:37
@slavapestov slavapestov force-pushed the rqm-abstract-signatures-on-by-default branch 2 times, most recently from 094bc6b to f93382c Compare March 8, 2022 04:18
@slavapestov
Copy link
Contributor Author

@hamishknight Enabling this flag by default and removing it from the stdlib cmake configuration will also address rdar://problem/89805970.

…=> T.[Q]

These rules would be fine since RHS simplification eliminates them,
but they cause problems for the minimal conformances algorithm.

To avoid introducing such rules, ensure that the critical pair of
two property-like rules is itself a property-like rule instead of
relying on subsequent simplifications sorting it out. See the
new comment in RewriteSystem::computeCriticalPair() for details.

I need to understand this problem better and either fix minimal
conformances or add stronger assertions, but for now this fixes
the last failure with -requirement-machine-abstract-signatures=verify.
@slavapestov slavapestov force-pushed the rqm-abstract-signatures-on-by-default branch from f93382c to a0b71e9 Compare March 8, 2022 04:20
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

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