aboutsummaryrefslogtreecommitdiff
path: root/kernel/mod_typing.ml
diff options
context:
space:
mode:
authoraspiwack2007-05-11 17:00:58 +0000
committeraspiwack2007-05-11 17:00:58 +0000
commit2dbe106c09b60690b87e31e58d505b1f4e05b57f (patch)
tree4476a715b796769856e67f6eb5bb6eb60ce6fb57 /kernel/mod_typing.ml
parent95f043a4aa63630de133e667f3da1f48a8f9c4f3 (diff)
Processor integers + Print assumption (see coqdev mailing list for the
details). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9821 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/mod_typing.ml')
-rw-r--r--kernel/mod_typing.ml9
1 files changed, 7 insertions, 2 deletions
diff --git a/kernel/mod_typing.ml b/kernel/mod_typing.ml
index ad5df805ba..93d01f12aa 100644
--- a/kernel/mod_typing.ml
+++ b/kernel/mod_typing.ml
@@ -170,7 +170,8 @@ and translate_module env me =
mod_user_type = Some mtb;
mod_type = mtb;
mod_equiv = None;
- mod_constraints = Constraint.empty }
+ mod_constraints = Constraint.empty;
+ mod_retroknowledge = [] }
| Some mexpr, _ ->
let meq_o = (* do we have a transparent module ? *)
try (* TODO: transparent field in module_entry *)
@@ -193,7 +194,11 @@ and translate_module env me =
mod_user_type = mod_user_type;
mod_expr = Some meb;
mod_equiv = meq_o;
- mod_constraints = cst }
+ mod_constraints = cst;
+ mod_retroknowledge = []} (* spiwack: not so sure about that. It may
+ cause a bug when closing nested modules.
+ If it does, I don't really know how to
+ fix the bug.*)
(* translate_mexpr : env -> module_expr -> module_expr_body * module_type_body *)
and translate_mexpr env mexpr = match mexpr with