summaryrefslogtreecommitdiff
path: root/toplevel/himsg.ml
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-10-14 17:58:31 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2010-10-14 17:58:31 +0200
commitd06cea3ce4526736b5d32ba1780dbbc87c37c981 (patch)
tree2c2ea5a4633a41cfd4451e1eefb79c171312c881 /toplevel/himsg.ml
parentaae7cec8d7f5048215b7ed06a8e94cb032bfd21a (diff)
parent8f4d4c66134804bbf2d2fe65c893b68387272d31 (diff)
Merge commit 'upstream/8.3+dfsg' into experimental/master
Diffstat (limited to 'toplevel/himsg.ml')
-rw-r--r--toplevel/himsg.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/toplevel/himsg.ml b/toplevel/himsg.ml
index a080442c..99ca9879 100644
--- a/toplevel/himsg.ml
+++ b/toplevel/himsg.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: himsg.ml 13332 2010-07-26 22:12:43Z msozeau $ *)
+(* $Id: himsg.ml 13465 2010-09-24 22:23:07Z herbelin $ *)
open Pp
open Util
@@ -290,6 +290,7 @@ let explain_ill_formed_rec_body env err names i fixenv vdefj =
pr_ne_context_of (str "In environment") env ++
st ++ str "." ++ fnl () ++
(try (* May fail with unresolved globals. *)
+ let fixenv = make_all_name_different fixenv in
let pvd = pr_lconstr_env fixenv vdefj.(i).uj_val in
str"Recursive definition is:" ++ spc () ++ pvd ++ str "."
with _ -> mt ())