aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/08-tools/10577-extraction-dependent-projections.rst9
-rw-r--r--doc/sphinx/proof-engine/vernacular-commands.rst1
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/changelog/08-tools/10577-extraction-dependent-projections.rst b/doc/changelog/08-tools/10577-extraction-dependent-projections.rst
new file mode 100644
index 0000000000..4d52355542
--- /dev/null
+++ b/doc/changelog/08-tools/10577-extraction-dependent-projections.rst
@@ -0,0 +1,9 @@
+- Fix a printing bug of OCaml extraction on dependent record projections, which
+ produced improper `assert false`. This change makes the OCaml extractor
+ internally inline record projections by default; thus the monolithic OCaml
+ extraction (:cmd:`Extraction` and :cmd:`Recursive Extraction`) does not
+ produce record projection constants anymore except for record projections
+ explicitly instructed to extract, and records declared in opaque modules
+ (`#10577 <https://github.com/coq/coq/pull/10577>`_,
+ fixes `#7348 <https://github.com/coq/coq/issues/7348>`_,
+ by Kazuhiko Sakaguchi).
diff --git a/doc/sphinx/proof-engine/vernacular-commands.rst b/doc/sphinx/proof-engine/vernacular-commands.rst
index c391cc949d..2885d6dc33 100644
--- a/doc/sphinx/proof-engine/vernacular-commands.rst
+++ b/doc/sphinx/proof-engine/vernacular-commands.rst
@@ -627,6 +627,7 @@ file is a particular case of module called *library file*.
as ``Export``.
.. cmdv:: From @dirpath Require @qualid
+ :name: From ... Require ...
This command acts as :cmd:`Require`, but picks
any library whose absolute name is of the form :n:`@dirpath.@dirpath’.@qualid`