aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau2019-02-08 11:28:07 +0100
committerMatthieu Sozeau2019-02-08 11:28:07 +0100
commitce36c131804cd7fb0a460277d88743c7131c5ed3 (patch)
tree07735d796748d9f8844c3f78e37802467ac41867
parent62cf1ad380772628ed6e547de3fb875275610b4d (diff)
Coercion intf fix
-rw-r--r--pretyping/coercion.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/coercion.mli b/pretyping/coercion.mli
index c954a2a851..43d4059785 100644
--- a/pretyping/coercion.mli
+++ b/pretyping/coercion.mli
@@ -58,7 +58,8 @@ val inh_conv_coerce_rigid_to : ?loc:Loc.t -> program_mode:bool ->bool ->
is coercible to an object of type [t'] adding evar constraints if needed;
it fails if no coercion exists *)
val inh_conv_coerces_to : ?loc:Loc.t ->
- env -> evar_map -> types -> types -> evar_map
+ env -> evar_map -> ?flags:Evarconv.unify_flags ->
+ types -> types -> evar_map
(** [inh_pattern_coerce_to loc env isevars pat ind1 ind2] coerces the Cases
pattern [pat] typed in [ind1] into a pattern typed in [ind2];