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

preserves random values in Primus #958

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

gitoleg
Copy link
Contributor

@gitoleg gitoleg commented Jun 25, 2019

Primus generates a new random value every time Env.get is called with an unbound variable.

This PR changes this behavior and makes Primus remember the generated
value, i.e. bind such variable at first time its value was requested.

Primus generates a new random value (of course, if some generator policy
was assigned) every time `Env.get` is called with an unbound variable.

This PR changes this behaviour and makes Primus remember the generated
value, i.e. bind such variable first time it's value was requested.
Copy link
Member

@ivg ivg left a comment

Choose a reason for hiding this comment

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

this PR restores the original intent, that was lost.

@ivg ivg merged commit 52d625c into BinaryAnalysisPlatform:master Jun 27, 2019
@gitoleg gitoleg deleted the primus-env-fix branch May 13, 2020 21:07
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