diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-01-20 23:08:35 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-01-20 23:41:45 +0100 |
commit | 9266190e7965729ddcbf645b386e83e20ba5ab62 (patch) | |
tree | bc8717a1d02c81601396b3aa6387a7756412a929 /checker/environ.mli | |
parent | f77b88a498f7e64bc35ade6fa74a00c2550bdf7f (diff) |
Fix #6618: coqchk fails with "ill-typed term".
Primitive projections were not correctly unfolded, leading to failure of
conversion checks in some cases. The kernel was strangely not affected by
this bug, and it was probably a remnant of some vestigial code.
Diffstat (limited to 'checker/environ.mli')
-rw-r--r-- | checker/environ.mli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/environ.mli b/checker/environ.mli index ba62ed519..36e0ea027 100644 --- a/checker/environ.mli +++ b/checker/environ.mli @@ -52,7 +52,7 @@ val check_constraints : Univ.constraints -> env -> bool val lookup_constant : Constant.t -> env -> Cic.constant_body val add_constant : Constant.t -> Cic.constant_body -> env -> env val constant_type : env -> Constant.t puniverses -> constr Univ.constrained -type const_evaluation_result = NoBody | Opaque | IsProj +type const_evaluation_result = NoBody | Opaque exception NotEvaluableConst of const_evaluation_result val constant_value : env -> Constant.t puniverses -> constr val evaluable_constant : Constant.t -> env -> bool |