Make position manager return positions with unique line/column#1389
Make position manager return positions with unique line/column#1389simon-hrabec wants to merge 1 commit intoviperproject:masterfrom
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.