aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Equality.v
diff options
context:
space:
mode:
authorJason Gross <jgross@mit.edu>2017-06-02 00:01:35 -0400
committerJason Gross <jasongross9@gmail.com>2017-06-05 18:47:35 -0400
commit7488682db4cf259e0bb0c886e13301c32a2eeaa2 (patch)
tree9baf80699c9f00b01d3180504d58351b6ecc0f33 /src/Util/Equality.v
parentc4a0d1fdde22dbd2faaa1753e973ee9602076ee8 (diff)
Don't rely on autogenerated names
This fixes all of the private-names warnings emitted by compiling fiat-crypto with https://github.com/coq/coq/pull/268 (minus the ones in coqprime, which I didn't touch).
Diffstat (limited to 'src/Util/Equality.v')
-rw-r--r--src/Util/Equality.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Util/Equality.v b/src/Util/Equality.v
index 456c9497a..affdb933a 100644
--- a/src/Util/Equality.v
+++ b/src/Util/Equality.v
@@ -83,8 +83,9 @@ Section gen.
reflexivity.
Defined.
- Global Instance isiso_encode {y} : IsIso (encode y).
+ Global Instance isiso_encode : forall {y}, IsIso (encode y).
Proof.
+ intro y.
exists (@decode y).
{ intro H.
unfold decode.