From 8ec12027e4641f88272c0275e31e93565f7c34cc Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 6 Sep 2000 12:46:25 +0000 Subject: kernel/type_errors.ml git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@583 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/type_errors.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/type_errors.mli') diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli index 284f244f1..20fa410e4 100644 --- a/kernel/type_errors.mli +++ b/kernel/type_errors.mli @@ -35,6 +35,7 @@ type type_error = | OccurCheck of int * constr | NotClean of int * constr | VarNotFound of identifier + | UnexpectedType of constr * constr | NotProduct of constr (* Pattern-matching errors *) | BadConstructor of constructor * inductive @@ -91,4 +92,6 @@ val error_not_inductive : path_kind -> env -> constr -> 'a val error_ml_case : path_kind -> env -> string -> constr -> constr -> constr -> constr -> 'a +val error_unexpected_type : env -> actual:constr -> expected:constr -> 'a + val error_not_product : env -> constr -> 'a -- cgit v1.2.3