Skip to content

[ConstraintSystem] Remove conjunction printing and iterate over all disjunction choices in scope #60762

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
merged 2 commits into from
Aug 26, 2022

Conversation

amritpan
Copy link
Member

This prints all of the inactive disjunction choices in the constraint system for the Component Step instead of just the selected disjunction for the attempt. Additionally, conjunction printing is removed as conjunction constraints do not have type variables to list.

This is an edit to #59971.

@xedin xedin self-requested a review August 25, 2022 03:48
@amritpan amritpan force-pushed the iterate-over-disjunction branch 3 times, most recently from 2ad4892 to bd02f95 Compare August 25, 2022 20:28
@amritpan amritpan requested a review from xedin August 25, 2022 20:29
@amritpan amritpan force-pushed the iterate-over-disjunction branch from bd02f95 to 8962329 Compare August 25, 2022 22:10
@amritpan amritpan requested a review from xedin August 25, 2022 22:11
Amritpan Kaur added 2 commits August 25, 2022 15:19
Print all disjunctions in scope, not just the one selected. Remove conjunction printing.
…tions.

Moved `debugLogger` into each if-block so it's indentation doesn't affect next `isDebugMode`.
@amritpan amritpan force-pushed the iterate-over-disjunction branch from 8962329 to f683c2c Compare August 25, 2022 22:20
@xedin
Copy link
Contributor

xedin commented Aug 25, 2022

@swift-ci please smoke test

@xedin
Copy link
Contributor

xedin commented Aug 26, 2022

@swift-ci please smoke test Linux platform

@xedin xedin merged commit 6082d16 into swiftlang:main Aug 26, 2022
@amritpan amritpan deleted the iterate-over-disjunction branch August 26, 2022 13:59
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.

2 participants