-
Notifications
You must be signed in to change notification settings - Fork 109
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
Make position manager return positions with unique line/column #1389
Make position manager return positions with unique line/column #1389
Conversation
Pinging @Aurel300 since there are counterexamples failing. Should we just update the expected output? |
It looks like all the failed CE tests are because extra messages were reported with the same exact values at the same positions. Maybe something in the counterexample translations was relying on positions to de-duplicate? |
The tests fail for those 3 tests (mismatch of expected output):
All 3 of those tests have the unsafe_core_proof flag set to true. It comes from the I am unfamiliar with counterexamples code and not sure what qualifies as a duplicate, but it seems they differ. for example:
with
seems to point to a slightly different thing. Similarly
with
If those should be skipped I think the same comparison could be made using the available spans. I am overall not sure I understand the role of the |
Who wants to take this PR? |
Vytautas said @Aurel300 😄 |
Closing in favor of #1418. |
This is a fix for an issue that arose in my PR #1385
@fpoli suggested solving it by changing how the position manager works.
Now position won't have a collision with line/column values which caused Viper to fail the verification.