-
Notifications
You must be signed in to change notification settings - Fork 365
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
Fix most unhelpful conflict explanation message by merging all formulas together #6106
Conversation
49e7d7e
to
3b9d803
Compare
related to #5130 too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've put some remarks on the code (non linear) but the idea is good, it is working well!
With the third commit, the title of the PR should change to something more general like "Conflict messages: fix most of unhelpful explanations and display full dependency path"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments resolved in meeting, thanks!
300225f
to
9a05832
Compare
squashed |
9a05832
to
3678025
Compare
…en showing conflict explanations
3678025
to
6f781f1
Compare
Fixes #4373
This PR fixes it by:
ChainSet.precludes
)In some cases this makes the message as verbose but at least it is correct and helpful.
We can try to make them even more readable in a later work but at least this fixes the biggest issue at hand: conflict messages telling lies and being unreadable.
Built on top of #5210Also fixes #5422 (alcotest now only takes 45s to print the explanation instead of +infinit)