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

enum pass bugs #87

Open
polgreen opened this issue Mar 4, 2021 · 1 comment
Open

enum pass bugs #87

polgreen opened this issue Mar 4, 2021 · 1 comment
Assignees

Comments

@polgreen
Copy link
Contributor

polgreen commented Mar 4, 2021

The enum->numeric pass needs fixing.

Soundness bug:
uclid -e test/test-enum-1.ucl produces different results to uclid test/test-enum-1.ucl

Assertion failure:
uclid examples/cpu_induction.ucl -e throws an assertion error.

My guess is that the latter is to do with enums from different modules not being imported correctly. The former, I don't know.

@polgreen
Copy link
Contributor Author

@kkmc you wrote the enum pass rewriter? Could you look into this please?

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

No branches or pull requests

2 participants