aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction/modutil.ml
diff options
context:
space:
mode:
authorWilliam Lawvere2017-06-13 22:22:36 -0700
committerWilliam Lawvere2017-06-13 22:22:36 -0700
commitaf39f62ad21f71a860e287e4d217b24dc9e2106b (patch)
tree43c14ae184f24fffaf495dade6d27a1c2fac3e1a /plugins/extraction/modutil.ml
parent3b0830ce0233db5b612e0b5bb92e89fa644eb0e4 (diff)
parent7e63c300a3aa1e3befb29bab9094e8b1939824bb (diff)
Merge remote-tracking branch 'upstream/trunk' into trunk
Diffstat (limited to 'plugins/extraction/modutil.ml')
-rw-r--r--plugins/extraction/modutil.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/extraction/modutil.ml b/plugins/extraction/modutil.ml
index 2b1e810604..6c38813e4b 100644
--- a/plugins/extraction/modutil.ml
+++ b/plugins/extraction/modutil.ml
@@ -8,6 +8,7 @@
open API
open Names
+open ModPath
open Globnames
open CErrors
open Util
@@ -111,7 +112,7 @@ let ind_iter_references do_term do_cons do_type kn ind =
do_type (IndRef ip);
if lang () == Ocaml then
(match ind.ind_equiv with
- | Miniml.Equiv kne -> do_type (IndRef (mind_of_kn kne, snd ip));
+ | Miniml.Equiv kne -> do_type (IndRef (MutInd.make1 kne, snd ip));
| _ -> ());
Array.iteri (fun j -> cons_iter (ip,j+1)) p.ip_types
in