-
Notifications
You must be signed in to change notification settings - Fork 63
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
Newtype fix #1396
Newtype fix #1396
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, as long as it passes all the tests. It seems to also update the code to handle translation of the new Cryptol enumeration functions even though the description doesn't mention that. Was that intentional?
Oops, not really. I just accidentally branched from #1391 instead of master. |
Ah, yeah, Brian's probably the right one to review that code, anyway. :) |
Update simple-smt version and enable `-threaded` runtime. This tracks the changes from GaloisInc/cryptol#1225 The threaded runtime is necessary to keep `waitForProcess` from stalling all threads in simple-smt.
Use sites are no longer expected to push selectors down into functions and sequences; that has been taken care of inside the Cryptol typechecker now for some time. Add a case for selectors applied to newtypes. Newtype values are currently translated exactly as their underlying records, so we can emit essentially the same code, we just need to look up the field index in the newtype definition.
Remaining failures seem unrelated, as best I can tell. |
Fix support for record selectors applied to newtypes. Fixes #1256.