-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the saw-core translation of Cryptol selectors.
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.
- Loading branch information
1 parent
b3469f7
commit 470aac3
Showing
1 changed file
with
10 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters