aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-06-23 22:51:23 +0200
committerEmilio Jesus Gallego Arias2020-11-26 21:21:54 +0100
commitb531ef305a0dad301629cf9a51a1a4f0ff925297 (patch)
treea3af2783a6c846cdc311a259cb1f1df54c3c6fed /doc
parent7f3c46acc937eb9257c29b5881e5a8b17b28cd48 (diff)
[declare] Allow custom typing flags when declaring constants.
We use the new `Declare.Info` structure to uniformly add properties to the handling of constants. In this case, per-constant typing flags. The internal code may want to see some further refactoring, including pushing the flags down to `Safe_typing.add_constant` , but the changes in the interface should be definitive. This will allow #12539 and #9004 using attributes.
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/12-misc/12586-declare+typing_flags.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/changelog/12-misc/12586-declare+typing_flags.rst b/doc/changelog/12-misc/12586-declare+typing_flags.rst
new file mode 100644
index 0000000000..001cd600b0
--- /dev/null
+++ b/doc/changelog/12-misc/12586-declare+typing_flags.rst
@@ -0,0 +1,5 @@
+- **Added:**
+ Typing flags can now be specified per-constant, this does allow
+ to fine-grain specify them from plugins or attributes.
+ (`#12586 <https://github.com/coq/coq/pull/12586>`_,
+ by Emilio Jesus Gallego Arias).