-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[serlib] Fix TODO / bug in primitive code.
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
- Loading branch information
Showing
4 changed files
with
64 additions
and
37 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
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
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
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,11 @@ | ||
Require Export CarryType. | ||
|
||
Primitive int := #int63_type. | ||
Primitive lsl := #int63_lsl. | ||
|
||
Set Universe Polymorphism. | ||
|
||
Primitive array := #array_type. | ||
|
||
Primitive make : forall A, int -> A -> array A := #array_make. | ||
Arguments make {_} _ _. |