aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-06 13:55:48 +0200
committerPierre-Marie Pédrot2018-10-06 13:55:48 +0200
commit371566f7619aed79aad55ffed6ee0920b961be6e (patch)
treef5a7f56d5d5e924987ef0970aa0b72ec53aad673 /engine
parent28df7dd06dbea299736f3897ecabd2a6e3fd8e28 (diff)
parent650c65af484c45f4e480252b55d148bcc198be6c (diff)
Merge PR #8555: Remove section paths from kernel names
Diffstat (limited to 'engine')
-rw-r--r--engine/namegen.ml4
-rw-r--r--engine/univNames.ml2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/namegen.ml b/engine/namegen.ml
index 2a59b914db..7ce759a3fb 100644
--- a/engine/namegen.ml
+++ b/engine/namegen.ml
@@ -76,9 +76,9 @@ let is_imported_ref = function
| VarRef _ -> false
| IndRef (kn,_)
| ConstructRef ((kn,_),_) ->
- let (mp,_,_) = MutInd.repr3 kn in is_imported_modpath mp
+ let mp = MutInd.modpath kn in is_imported_modpath mp
| ConstRef kn ->
- let (mp,_,_) = Constant.repr3 kn in is_imported_modpath mp
+ let mp = Constant.modpath kn in is_imported_modpath mp
let is_global id =
try
diff --git a/engine/univNames.ml b/engine/univNames.ml
index 70cdd3a2db..e89dcedb9c 100644
--- a/engine/univNames.ml
+++ b/engine/univNames.ml
@@ -69,7 +69,7 @@ let discharge_ubinder (_,(ref,l)) =
with Not_found -> name_universe lvl
in
let l = List.map map sec_inst @ l in
- Some (Lib.discharge_global ref, l)
+ Some (ref, l)
let ubinder_obj : GlobRef.t * Id.t list -> Libobject.obj =
let open Libobject in