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 bug in datatype translation #975

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

shazqadeer
Copy link
Contributor

SMTLib has a convention regarding the syntax for specifying the test for a variant arm of a datatype. If the variant constructor name is C, a call to function is-C must be generated. This was not being done correctly and this PR fixes the problem.

This PR also renames SmtLibNameUtils --> SMTLibNameUtils to match the convention used for other classes in the SMTLib project.

@shazqadeer shazqadeer force-pushed the random-naming-bug-fix branch from ed8307e to df599c1 Compare October 24, 2024 19:44
@shazqadeer shazqadeer requested a review from bkragl October 24, 2024 19:45
@keyboardDrummer
Copy link
Collaborator

Would be good to add a test as well

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) October 25, 2024 09:17
@keyboardDrummer keyboardDrummer merged commit 934a194 into master Oct 25, 2024
5 checks passed
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