aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-06-09 15:16:53 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-06-09 15:16:53 +0000
commitbbfc54ebeeac8ccee9fd7ad2d379d4741ce3335d (patch)
tree1f5a8061b8a61bcf7b3b6b76964a9a68ea05f824 /pretyping
parent061ed2c930ca832db175a0bc85351c98819d6bda (diff)
Amelioration messages erreurs
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@502 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/coercion.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/pretyping/coercion.ml b/pretyping/coercion.ml
index 07083d7a2..13cd80a68 100644
--- a/pretyping/coercion.ml
+++ b/pretyping/coercion.ml
@@ -196,7 +196,9 @@ let inh_apply_rel_list nocheck apploc env isevars argjl funj vtcon =
(try
inh_conv_coerce_to_fail env isevars c1 hj
with NoCoercion ->
- error_cant_apply_bad_type_loc apploc env (n,c1,body_of_type hj.uj_type)
+ error_cant_apply_bad_type_loc apploc env
+ (n,nf_ise1 !isevars c1,
+ nf_ise1 !isevars (body_of_type hj.uj_type))
(j_nf_ise env !isevars funj)
(jl_nf_ise env !isevars argjl))
in