aboutsummaryrefslogtreecommitdiff
path: root/kernel/instantiate.ml
diff options
context:
space:
mode:
authorfilliatr2000-11-02 15:41:00 +0000
committerfilliatr2000-11-02 15:41:00 +0000
commit33512e2f4d7d0733805efac1b9e69855fdf1777c (patch)
treece4d93e536152834ea0db58dea2a8407644a1023 /kernel/instantiate.ml
parente59113f1bdf4d8c98d956c01f51ae019942d92cd (diff)
correction Abstract (et make world passe!)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@794 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/instantiate.ml')
-rw-r--r--kernel/instantiate.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/instantiate.ml b/kernel/instantiate.ml
index e433423c09..f99ccb0c47 100644
--- a/kernel/instantiate.ml
+++ b/kernel/instantiate.ml
@@ -61,7 +61,7 @@ let name_of_existential n = id_of_string ("?" ^ string_of_int n)
let existential_type sigma (n,args) =
let info = Evd.map sigma n in
- let hyps = evar_hyps info in
+ let hyps = info.evar_hyps in
(* TODO: check args [this comment was in Typeops] *)
instantiate_constr hyps info.evar_concl (Array.to_list args)
@@ -69,7 +69,7 @@ exception NotInstantiatedEvar
let existential_value sigma (n,args) =
let info = Evd.map sigma n in
- let hyps = evar_hyps info in
+ let hyps = info.evar_hyps in
match evar_body info with
| Evar_defined c ->
instantiate_constr hyps c (Array.to_list args)