aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-01-25 17:43:02 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-01-25 17:43:02 +0000
commitb2013fcb2c2d6e760610420ff22f0645f7b1f7ad (patch)
tree3c56a8e602e66c45a6fd1d211f9902ee48ecb23b /library
parent9007bc92139cb80139337ea5d11322c1c1f12c19 (diff)
Remplacement d'un bug non documente par un autre documente dans quantify_extra_hyps !
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1277 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r--library/declare.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/declare.ml b/library/declare.ml
index ead0fa6b1..e6d6247a0 100644
--- a/library/declare.ml
+++ b/library/declare.ml
@@ -311,7 +311,9 @@ let find_common_hyps_then_abstract c env hyps' hyps =
let rec quantify_extra_hyps c = function
| (id,None,t)::hyps -> mkNamedLambda id t (quantify_extra_hyps c hyps)
- | (_,Some _,_)::hyps -> quantify_extra_hyps c hyps
+ (* Buggé car id n'apparaît pas dans les instances des constantes dans c *)
+ (* et id n'est donc pas substitué dans ces constantes *)
+ | (id,Some b,t)::hyps -> mkNamedLetIn id b t (quantify_extra_hyps c hyps)
| [] -> c
let rec find_common_hyps_then_abstract c env hyps' = function