Skip to content

Fix usage of AllocVal in ForwardQueries when propagating their facts #155

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
May 15, 2025

Conversation

smeyer198
Copy link
Collaborator

The forward and backward solver expect the propagated fact (i.e. the var() of a query) to be not an instance of the class AllocVal. However, in very specific situations, Boomerang creates generating states for the AllocVal because it is returned from var() in forward queries.

Solution

Pass the delegate val from the AllocVal to the query object and treat the AllocVal as new field

@schlichtig schlichtig requested a review from swissiety May 14, 2025 14:00
Copy link
Member

@swissiety swissiety left a comment

Choose a reason for hiding this comment

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

👍

@swissiety swissiety merged commit 327b163 into develop May 15, 2025
5 checks passed
@swissiety swissiety deleted the fix/AllocVal branch May 15, 2025 12:58
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