aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-02-02 15:35:21 +0000
committerGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-02-02 15:35:21 +0000
commit206ce9892fbfc2dbac151fb3479b9a0849461536 (patch)
treea852b2d7a3ac538c6d0dc59297695eacae944780 /library
parent3ef3e0d145c2765c17e0f10b9c0d896c09365662 (diff)
Small fix on module inclusion.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12706 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r--library/declare.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/declare.ml b/library/declare.ml
index ffe53e505..dce84ff04 100644
--- a/library/declare.ml
+++ b/library/declare.ml
@@ -106,7 +106,7 @@ let load_constant i ((sp,kn),(_,_,kind)) =
(* Opening means making the name without its module qualification available *)
let open_constant i ((sp,kn),_) =
- let con = constant_of_kn kn in
+ let con = Global.constant_of_delta (constant_of_kn kn) in
Nametab.push (Nametab.Exactly i) sp (ConstRef con)
let cache_constant ((sp,kn),(cdt,dhyps,kind)) =