aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/ci/user-overlays/09150-ejgallego-build+warn_50.sh6
-rw-r--r--dev/core.dbg2
-rw-r--r--dev/doc/changes.md20
-rw-r--r--dev/top_printers.ml2
4 files changed, 28 insertions, 2 deletions
diff --git a/dev/ci/user-overlays/09150-ejgallego-build+warn_50.sh b/dev/ci/user-overlays/09150-ejgallego-build+warn_50.sh
new file mode 100644
index 0000000000..f2a113b118
--- /dev/null
+++ b/dev/ci/user-overlays/09150-ejgallego-build+warn_50.sh
@@ -0,0 +1,6 @@
+if [ "$CI_PULL_REQUEST" = "9150" ] || [ "$CI_BRANCH" = "build+warn_50" ]; then
+
+ mtac2_CI_REF=build+warn_50
+ mtac2_CI_GITURL=https://github.com/ejgallego/Mtac2
+
+fi
diff --git a/dev/core.dbg b/dev/core.dbg
index f676b643e4..ec946e2df0 100644
--- a/dev/core.dbg
+++ b/dev/core.dbg
@@ -1,10 +1,10 @@
load_printer threads.cma
load_printer str.cma
-load_printer gramlib.cma
load_printer config.cma
load_printer clib.cma
load_printer dynlink.cma
load_printer lib.cma
+load_printer gramlib.cma
load_printer kernel.cma
load_printer library.cma
load_printer engine.cma
diff --git a/dev/doc/changes.md b/dev/doc/changes.md
index c0f15f02a5..e7d4b605c7 100644
--- a/dev/doc/changes.md
+++ b/dev/doc/changes.md
@@ -52,6 +52,26 @@ Macros:
where `atts : Vernacexpr.vernac_flags` was bound in the expression
and had to be manually parsed.
+Libobject
+
+- A Higher-level API for objects with fixed scope was introduced. It supports the following kinds of objects:
+
+ * Local objects, meaning that objects cannot be imported from outside.
+ * Global objects, meaning that they can be imported (by importing the module that contains the object).
+ * Superglobal objects, meaning that objects survive to closing a module, and
+ are imported when the file which contains them is Required (even without
+ Import).
+ * Objects that survive section closing or don't (see `nodischarge` variants,
+ however we discourage defining such objects)
+
+ This API is made of the following functions:
+ * `Libobject.local_object`
+ * `Libobject.local_object_nodischarge`
+ * `Libobject.global_object`
+ * `Libobject.global_object_nodischarge`
+ * `Libobject.superglobal_object`
+ * `Libobject.superglobal_object_nodischarge`
+
## Changes between Coq 8.8 and Coq 8.9
### ML API
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index b90a53220d..8f207d1e0a 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -476,7 +476,7 @@ let pp_generic_argument arg =
let prgenarginfo arg =
let Geninterp.Val.Dyn (tag, _) = arg in
let tpe = Geninterp.Val.pr tag in
- (** FIXME *)
+ (* FIXME *)
(* try *)
(* let data = Pptactic.pr_top_generic (Global.env ()) arg in *)
(* str "<genarg:" ++ tpe ++ str " := [ " ++ data ++ str " ] >" *)