diff options
| author | herbelin | 2011-04-24 08:59:21 +0000 |
|---|---|---|
| committer | herbelin | 2011-04-24 08:59:21 +0000 |
| commit | 97cd771c5914e6306d87450dc9634fe7250b651a (patch) | |
| tree | e23e0b9603490485fa1607c6132a1059b26c2e1c /pretyping | |
| parent | ef6bddfdcf87d90e9ad7f682cfa5e24a1a53f3c5 (diff) | |
Fixing bug in printing let-in binders in fix/cofix
(backport from branch v8.3)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14055 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping')
| -rw-r--r-- | pretyping/detyping.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/detyping.ml b/pretyping/detyping.ml index 106629d2b0..e2533b238e 100644 --- a/pretyping/detyping.ml +++ b/pretyping/detyping.ml @@ -463,7 +463,7 @@ and share_names isgoal n l avoid env c t = let b = detype isgoal avoid env b in let id = next_name_away na avoid in let avoid = id::avoid and env = add_name (Name id) env in - share_names isgoal n ((Name id,Explicit,Some b,t')::l) avoid env c t + share_names isgoal n ((Name id,Explicit,Some b,t')::l) avoid env c (lift 1 t) (* Only if built with the f/n notation or w/o let-expansion in types *) | _, LetIn (_,b,_,t) when n > 0 -> share_names isgoal n l avoid env c (subst1 b t) |
