aboutsummaryrefslogtreecommitdiff
path: root/library/libobject.ml
diff options
context:
space:
mode:
authorMaxime Dénès2019-07-08 15:00:36 +0200
committerMaxime Dénès2019-09-16 09:56:58 +0200
commit4614010ceddb9ed5100fa4e43d2807b172143a19 (patch)
tree79fbcf2cb11e04765b5736399c85cb06ac5298c4 /library/libobject.ml
parent2957e86c93556b0baf86b662d34fce1a2096edc2 (diff)
Specialize `ImportObject` to `Export`
`Import` does not actually need to register an object, only `Export` does. So we specialize and rename the object into `ExportObject`.
Diffstat (limited to 'library/libobject.ml')
-rw-r--r--library/libobject.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/libobject.ml b/library/libobject.ml
index 27e7810e6c..3d4a33c74e 100644
--- a/library/libobject.ml
+++ b/library/libobject.ml
@@ -75,7 +75,7 @@ and t =
| ModuleTypeObject of substitutive_objects
| IncludeObject of algebraic_objects
| KeepObject of objects
- | ImportObject of { export : bool; mp : ModPath.t }
+ | ExportObject of { mp : ModPath.t }
| AtomicObject of obj
and objects = (Names.Id.t * t) list