diff options
| author | Matthieu Sozeau | 2015-03-04 00:32:58 +0100 |
|---|---|---|
| committer | Matthieu Sozeau | 2015-03-04 00:32:58 +0100 |
| commit | 85fc5f90c52a755d1b64640f4f0b3421979c0fe8 (patch) | |
| tree | af7c16aa9db83cb81a0994dfab3364cf0d50702b /pretyping/reductionops.mli | |
| parent | c35c97e7c904f2109110c64f2ba9e45e945de381 (diff) | |
Fix bug #3532, providing universe inconsistency information when a
unification fails due to that, during a conversion step.
Diffstat (limited to 'pretyping/reductionops.mli')
| -rw-r--r-- | pretyping/reductionops.mli | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pretyping/reductionops.mli b/pretyping/reductionops.mli index d4f061c5be..1df2a73b2e 100644 --- a/pretyping/reductionops.mli +++ b/pretyping/reductionops.mli @@ -268,9 +268,11 @@ val check_conv : ?pb:conv_pb -> ?ts:transparent_state -> env -> evar_map -> con (** [infer_fconv] Adds necessary universe constraints to the evar map. pb defaults to CUMUL and ts to a full transparent state. + @raises UniverseInconsistency iff catch_incon is set to false, + otherwise returns false in that case. *) -val infer_conv : ?pb:conv_pb -> ?ts:transparent_state -> env -> evar_map -> constr -> constr -> - evar_map * bool +val infer_conv : ?catch_incon:bool -> ?pb:conv_pb -> ?ts:transparent_state -> + env -> evar_map -> constr -> constr -> evar_map * bool (** {6 Special-Purpose Reduction Functions } *) |
