-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Cryptol submodule for constraint guard fix
Closes #1923 This change updates the cryptol submodule to pull in the fix for constraint guards with types dependent on module parameters. See GaloisInc/cryptol#1569 for the relevant cryptol issue and GaloisInc/cryptol#1570 for the fix.
- Loading branch information
Brett Boston
committed
Sep 1, 2023
1 parent
aa550a8
commit af8dc77
Showing
4 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
Submodule cryptol
updated
2 files
+2 −1 | src/Cryptol/IR/FreeVars.hs | |
+3 −1 | src/Cryptol/TypeCheck/Subst.hs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Instantiated = Parameterized where | ||
|
||
type gamma = 3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module Parameterized where | ||
|
||
parameter | ||
type gamma : # | ||
type constraint (fin gamma, gamma >= 2, 32 >= width gamma) | ||
|
||
// Constraint guard with type dependent on module parameter value | ||
v : [gamma] | ||
v | () => 0 |
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