summaryrefslogtreecommitdiff
path: root/kernel/type_errors.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/type_errors.ml')
-rw-r--r--kernel/type_errors.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml
index 87de6698..1a49531b 100644
--- a/kernel/type_errors.ml
+++ b/kernel/type_errors.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: type_errors.ml 8845 2006-05-23 07:41:58Z herbelin $ *)
+(* $Id: type_errors.ml 10533 2008-02-08 16:54:47Z msozeau $ *)
open Names
open Term
@@ -56,7 +56,7 @@ type type_error =
| CantApplyBadType of
(int * constr * constr) * unsafe_judgment * unsafe_judgment array
| CantApplyNonFunctional of unsafe_judgment * unsafe_judgment array
- | IllFormedRecBody of guard_error * name array * int
+ | IllFormedRecBody of guard_error * name array * int * env * unsafe_judgment array
| IllTypedRecBody of
int * name array * unsafe_judgment array * types array
@@ -105,8 +105,8 @@ let error_cant_apply_not_functional env rator randl =
let error_cant_apply_bad_type env t rator randl =
raise (TypeError (env, CantApplyBadType (t,rator,randl)))
-let error_ill_formed_rec_body env why lna i =
- raise (TypeError (env, IllFormedRecBody (why,lna,i)))
+let error_ill_formed_rec_body env why lna i fixenv vdefj =
+ raise (TypeError (env, IllFormedRecBody (why,lna,i,fixenv,vdefj)))
let error_ill_typed_rec_body env i lna vdefj vargs =
raise (TypeError (env, IllTypedRecBody (i,lna,vdefj,vargs)))