Skip to content
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 split printing #996

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

keyboardDrummer
Copy link
Collaborator

@keyboardDrummer keyboardDrummer commented Jan 13, 2025

Prevent split debugging files from overwriting each other.

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) January 23, 2025 15:23
@@ -102,7 +102,7 @@ implementation Ex/focus[+16,+20,+25]() returns (y: int)


focus.bpl(15,5): Error: this assertion could not be proved
implementation focusInconsistency/focus[+38](x: int) returns (y: int)
implementation focusInconsistency--1/focus[+38](x: int) returns (y: int)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this indicate the split index is -1? Is that expected?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, good question.

It seems like your guess is right. I found this code:

int currentSplitNumber = DoSplitting ? Interlocked.Increment(ref splitNumber) - 1 : -1;
split.SplitIndex = currentSplitNumber;

@keyboardDrummer keyboardDrummer merged commit c1b83b6 into boogie-org:master Jan 23, 2025
5 checks passed
@keyboardDrummer keyboardDrummer deleted the fixSplitPrinting branch January 23, 2025 16:49
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