aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Herbelin2020-05-09 15:05:33 +0200
committerHugo Herbelin2020-05-09 15:05:33 +0200
commit56e2d2fe23bfe69f7c181e3786e8e95f1ee6151b (patch)
treea90ea6b71c1aa506c43ead2b55bfb4ffaa1f0866 /doc
parent3d20cedd6c7a38e712a6d94ecf52158fe6aa49db (diff)
parent4c39126f0a0a97152f67a3a5e7c86db860f48e39 (diff)
Merge PR #12163: Fix #12159 (Numeral Notations do not play well with multiple scopes for the same inductive)
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/03-notations/12163-fix-12159.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/changelog/03-notations/12163-fix-12159.rst b/doc/changelog/03-notations/12163-fix-12159.rst
new file mode 100644
index 0000000000..978ed561dd
--- /dev/null
+++ b/doc/changelog/03-notations/12163-fix-12159.rst
@@ -0,0 +1,11 @@
+- **Fixed:**
+ Numeral Notations now play better with multiple scopes for the same
+ inductive type. Previously, when multiple numeral notations were defined
+ for the same inductive, only the last one was considered for
+ printing. Now, among the notations that are usable for printing and either
+ have a scope delimiter or are open, the selection is made according
+ to the order of open scopes, or according to the last defined
+ notation if no appropriate scope is open
+ (`#12163 <https://github.com/coq/coq/pull/12163>`_,
+ fixes `#12159 <https://github.com/coq/coq/pull/12159>`_,
+ by Pierre Roux, review by Hugo Herbelin and Jason Gross).