aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction/extract_env.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2015-02-12 22:41:40 +0100
committerMatthieu Sozeau2015-02-12 22:43:00 +0100
commit5c603ebd99e4e8e7abb8b2036a6ffac5b19f66cf (patch)
tree5ea51c592bbf3304d1e54616a27313780055892c /plugins/extraction/extract_env.ml
parent43471abd4e61e7528fdaa2c576e7cb825a203c13 (diff)
Univs: fix bug #3978: carry around the universe context used to
typecheck with definitions and thread it accordingly when typechecking module expressions.
Diffstat (limited to 'plugins/extraction/extract_env.ml')
-rw-r--r--plugins/extraction/extract_env.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extraction/extract_env.ml b/plugins/extraction/extract_env.ml
index 42e69d342e..90ee6d0ef1 100644
--- a/plugins/extraction/extract_env.ml
+++ b/plugins/extraction/extract_env.ml
@@ -235,7 +235,7 @@ let rec extract_structure_spec env mp = function
and extract_mexpr_spec env mp1 (me_struct,me_alg) = match me_alg with
| MEident mp -> Visit.add_mp_all mp; MTident mp
- | MEwith(me',WithDef(idl,c))->
+ | MEwith(me',WithDef(idl,(c,ctx)))->
let env' = env_for_mtb_with_def env (mp_of_mexpr me') me_struct idl in
let mt = extract_mexpr_spec env mp1 (me_struct,me') in
(match extract_with_type env' c with (* cb may contain some kn *)